Skip to content
Snippets Groups Projects
Commit dcc2afc9 authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

Use text blocks and fix checkstyle issues

parent 85b22cdc
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,26 @@ public class TodoModuleTest {
mapper.registerModule(new TodoModule());
}
private final static String todoListWithTwoItems = "{\"lists\":[{\"name\":\"todo\",\"items\":[{\"text\":\"item1\",\"checked\":false},{\"text\":\"item2\",\"checked\":true,\"deadline\":\"2020-10-01T14:53:11\"}]}]}";
private final static String todoListWithTwoItems = """
{
"lists": [
{
"name": "todo",
"items": [
{
"text": "item1",
"checked": false
},
{
"text": "item2",
"checked": true,
"deadline": "2020-10-01T14:53:11"
}
]
}
]
}
""";
@Test
public void testSerializers() {
......
......@@ -93,7 +93,7 @@
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<configuration>
<mainClass>de.jensd.fx.glyphs.fontawesome.demo.FontAwesomeIconsDemoApp</mainClass>
</configuration>
......@@ -108,7 +108,7 @@
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<configuration>
<mainClass>todolist.ui.TodoDocumentApp</mainClass>
</configuration>
......@@ -123,7 +123,7 @@
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<configuration>
<mainClass>todolist.ui.TodoRemoteApp</mainClass>
</configuration>
......@@ -177,7 +177,7 @@
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<configuration>
<mainClass>todolist.ui.TodoApp</mainClass>
</configuration>
......
......@@ -4,8 +4,8 @@ package fxutil.doc;
* Interface for the documents that can be loaded and saved,
* so they can support the operations of a file menu.
*
* @param <D>
* @param <L>
* @param <D> The type of the document content
* @param <L> The type of the location
*/
public interface DocumentPersistence<D, L> extends DocumentLoader<D>, DocumentSaver<D, L> {
}
......@@ -24,7 +24,7 @@ import javafx.scene.control.TextInputDialog;
import javafx.stage.FileChooser;
/**
* Controller for the file menu
* Controller for the file menu.
*/
public class FileMenuController {
......
......@@ -66,7 +66,7 @@
<version>3.8.1</version>
<configuration>
<encoding>UTF-8</encoding>
<release>14</release>
<release>16</release>
</configuration>
</plugin>
<plugin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment