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 { ...@@ -27,7 +27,26 @@ public class TodoModuleTest {
mapper.registerModule(new TodoModule()); 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 @Test
public void testSerializers() { public void testSerializers() {
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<plugin> <plugin>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId> <artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version> <version>0.0.6</version>
<configuration> <configuration>
<mainClass>de.jensd.fx.glyphs.fontawesome.demo.FontAwesomeIconsDemoApp</mainClass> <mainClass>de.jensd.fx.glyphs.fontawesome.demo.FontAwesomeIconsDemoApp</mainClass>
</configuration> </configuration>
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
<plugin> <plugin>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId> <artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version> <version>0.0.6</version>
<configuration> <configuration>
<mainClass>todolist.ui.TodoDocumentApp</mainClass> <mainClass>todolist.ui.TodoDocumentApp</mainClass>
</configuration> </configuration>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<plugin> <plugin>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId> <artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version> <version>0.0.6</version>
<configuration> <configuration>
<mainClass>todolist.ui.TodoRemoteApp</mainClass> <mainClass>todolist.ui.TodoRemoteApp</mainClass>
</configuration> </configuration>
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
<plugin> <plugin>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId> <artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5</version> <version>0.0.6</version>
<configuration> <configuration>
<mainClass>todolist.ui.TodoApp</mainClass> <mainClass>todolist.ui.TodoApp</mainClass>
</configuration> </configuration>
......
...@@ -4,8 +4,8 @@ package fxutil.doc; ...@@ -4,8 +4,8 @@ package fxutil.doc;
* Interface for the documents that can be loaded and saved, * Interface for the documents that can be loaded and saved,
* so they can support the operations of a file menu. * so they can support the operations of a file menu.
* *
* @param <D> * @param <D> The type of the document content
* @param <L> * @param <L> The type of the location
*/ */
public interface DocumentPersistence<D, L> extends DocumentLoader<D>, DocumentSaver<D, L> { public interface DocumentPersistence<D, L> extends DocumentLoader<D>, DocumentSaver<D, L> {
} }
...@@ -24,7 +24,7 @@ import javafx.scene.control.TextInputDialog; ...@@ -24,7 +24,7 @@ import javafx.scene.control.TextInputDialog;
import javafx.stage.FileChooser; import javafx.stage.FileChooser;
/** /**
* Controller for the file menu * Controller for the file menu.
*/ */
public class FileMenuController { public class FileMenuController {
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<release>14</release> <release>16</release>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment