diff options
author | Marvin Borner | 2019-04-04 15:26:08 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-04 15:26:08 +0200 |
commit | b71c055a8a198a1071b5905904096630aba98361 (patch) | |
tree | 47a53b620bbba632d1c4c98b328cc786e16f0e27 /src/main/resources | |
parent | b0a2b6c5a19e0e20d50d29f52d640b5f7d19f841 (diff) |
Cleaned up code
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/compiled-views/files.java | 35 | ||||
-rw-r--r-- | src/main/resources/compiled-views/fileview.java | 34 |
2 files changed, 47 insertions, 22 deletions
diff --git a/src/main/resources/compiled-views/files.java b/src/main/resources/compiled-views/files.java index ebd0c58..b37859f 100644 --- a/src/main/resources/compiled-views/files.java +++ b/src/main/resources/compiled-views/files.java @@ -1,14 +1,13 @@ -import java.io.IOException; -import com.fizzed.rocker.ForIterator; import com.fizzed.rocker.RenderingException; -import com.fizzed.rocker.RockerContent; -import com.fizzed.rocker.RockerOutput; import com.fizzed.rocker.runtime.DefaultRockerTemplate; import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader; -// import @ [1:1] + +import java.io.IOException; import java.util.ArrayList; +// import @ [1:1] + /* * Auto generated code to render template /files.rocker.html * Do not edit this file. Changes will eventually be overwritten by Rocker parser! @@ -16,11 +15,25 @@ import java.util.ArrayList; @SuppressWarnings("unused") public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { - static public com.fizzed.rocker.ContentType getContentType() { return com.fizzed.rocker.ContentType.HTML; } - static public String getTemplateName() { return "files.rocker.html"; } - static public String getTemplatePackageName() { return ""; } - static public String getHeaderHash() { return "-1618097059"; } - static public String[] getArgumentNames() { return new String[] { "files" }; } + static public com.fizzed.rocker.ContentType getContentType() { + return com.fizzed.rocker.ContentType.HTML; + } + + static public String getTemplateName() { + return "files.rocker.html"; + } + + static public String getTemplatePackageName() { + return ""; + } + + static public String getHeaderHash() { + return "-1618097059"; + } + + static public String[] getArgumentNames() { + return new String[]{"files"}; + } // argument @ [2:2] private ArrayList files; @@ -36,7 +49,7 @@ public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { static public files template(ArrayList files) { return new files() - .files(files); + .files(files); } @Override diff --git a/src/main/resources/compiled-views/fileview.java b/src/main/resources/compiled-views/fileview.java index e01b7f3..67de59f 100644 --- a/src/main/resources/compiled-views/fileview.java +++ b/src/main/resources/compiled-views/fileview.java @@ -1,12 +1,10 @@ -import java.io.IOException; -import com.fizzed.rocker.ForIterator; import com.fizzed.rocker.RenderingException; -import com.fizzed.rocker.RockerContent; -import com.fizzed.rocker.RockerOutput; import com.fizzed.rocker.runtime.DefaultRockerTemplate; import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader; +import java.io.IOException; + /* * Auto generated code to render template /fileview.rocker.html * Do not edit this file. Changes will eventually be overwritten by Rocker parser! @@ -14,11 +12,25 @@ import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader; @SuppressWarnings("unused") public class fileview extends com.fizzed.rocker.runtime.DefaultRockerModel { - static public com.fizzed.rocker.ContentType getContentType() { return com.fizzed.rocker.ContentType.HTML; } - static public String getTemplateName() { return "fileview.rocker.html"; } - static public String getTemplatePackageName() { return ""; } - static public String getHeaderHash() { return "868254209"; } - static public String[] getArgumentNames() { return new String[] { "content" }; } + static public com.fizzed.rocker.ContentType getContentType() { + return com.fizzed.rocker.ContentType.HTML; + } + + static public String getTemplateName() { + return "fileview.rocker.html"; + } + + static public String getTemplatePackageName() { + return ""; + } + + static public String getHeaderHash() { + return "868254209"; + } + + static public String[] getArgumentNames() { + return new String[]{"content"}; + } // argument @ [1:2] private String content; @@ -34,7 +46,7 @@ public class fileview extends com.fizzed.rocker.runtime.DefaultRockerModel { static public fileview template(String content) { return new fileview() - .content(content); + .content(content); } @Override @@ -45,7 +57,7 @@ public class fileview extends com.fizzed.rocker.runtime.DefaultRockerModel { static public class Template extends com.fizzed.rocker.runtime.DefaultRockerTemplate { - // <!doctype html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"\n name=\"viewport\">\n <meta content=\"ie=edge\" http-equiv=\"X-UA-Compatible\">\n <title>Fileview</title>\n</head>\n<body>\n<textarea disabled style=\"border: none; background-color: white; width: 100vw; height: 100vh\">\n + // <!doctype html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"\n name=\"viewport\">\n <meta content=\"ie=edge\" http-equiv=\"X-UA-Compatible\">\n <title>Fileview</title>\n</head>\n<body>\n<textarea disabled style=\"border: none; background-color: white; width: 100vw; height: 100vh\">\n static private final byte[] PLAIN_TEXT_0_0; // \n</textarea>\n</body>\n</html>\n static private final byte[] PLAIN_TEXT_1_0; |