Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added Script

  • Loading branch information...
commit df7030db0ee335747b5883261c00805be0d329ce 1 parent b995925
@geelen authored
View
6 mohole.ipr
@@ -78,7 +78,11 @@
<autodetection-disabled>
<facet-type id="web">
<modules>
- <module name="Slinky2-demo" />
+ <module name="Mohole">
+ <files>
+ <file url="file://$PROJECT_DIR$/build/war/WEB-INF/web.xml" />
+ </files>
+ </module>
</modules>
</facet-type>
</autodetection-disabled>
View
476 mohole.iws
@@ -2,9 +2,12 @@
<project relativePaths="false" version="4">
<component name="ChangeListManager">
<list default="true" name="Default" comment="">
- <change type="DELETED" beforePath="$PROJECT_DIR$/mohole.iws" afterPath="" />
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.gitignore" afterPath="$PROJECT_DIR$/.gitignore" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/main/slinky/demo/RequestObj.java" afterPath="" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/mohole.ipr" afterPath="$PROJECT_DIR$/mohole.ipr" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/Mohole.iml" afterPath="$PROJECT_DIR$/src/Mohole.iml" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/mohole.iws" afterPath="$PROJECT_DIR$/mohole.iws" />
+ <change type="DELETED" beforePath="$PROJECT_DIR$/src/main/slinky/demo/X.java" afterPath="" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/WEB-INF/logging.properties" afterPath="$PROJECT_DIR$/resources/WEB-INF/logging.properties" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/mohole/App.scala" afterPath="$PROJECT_DIR$/src/main/mohole/App.scala" />
</list>
<ignored path="slinky2-demo.iws" />
@@ -64,65 +67,32 @@
</component>
<component name="FileEditorManager">
<leaf>
- <file leaf-file-name="App.scala" pinned="false" current="false" current-in-tab="false">
+ <file leaf-file-name="App.scala" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/mohole/App.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="63" column="0" selection-start="2029" selection-end="2029" vertical-scroll-proportion="0.0">
+ <state line="29" column="26" selection-start="1121" selection-end="1121" vertical-scroll-proportion="0.025641026">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/.gitignore">
+ <file leaf-file-name="Script.scala" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/src/main/mohole/resources/script/Script.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="4" column="6" selection-start="89" selection-end="89" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="mohole.iws" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/mohole.iws">
+ <file leaf-file-name="Script.scala" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/build/src/mohole/resources/script/Script.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="31" selection-start="1197" selection-end="1197" vertical-scroll-proportion="0.0">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="mohole.ipr" pinned="false" current="true" current-in-tab="true">
- <entry file="file://$PROJECT_DIR$/mohole.ipr">
- <provider selected="true" editor-type-id="text-editor">
- <state line="333" column="15" selection-start="19079" selection-end="19079" vertical-scroll-proportion="0.096503496">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="JDO.scala" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/src/main/scails/edge/JDO.scala">
- <provider selected="true" editor-type-id="text-editor">
- <state line="0" column="13" selection-start="13" selection-end="13" vertical-scroll-proportion="0.0">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="RequestObj.java" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/build/src/slinky/demo/RequestObj.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="5" column="26" selection-start="143" selection-end="143" vertical-scroll-proportion="0.0">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="HttpServletRequest.scala" pinned="false" current="false" current-in-tab="false">
- <entry file="file:///Users/glen/src/slinky2/src/main/slinky/http/servlet/HttpServletRequest.scala">
- <provider selected="true" editor-type-id="text-editor">
- <state line="109" column="30" selection-start="3738" selection-end="3738" vertical-scroll-proportion="0.0">
- <folding />
+ <state line="5" column="12" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">
+ <folding>
+ <marker date="1240219017000" expanded="true" signature="134:182" placeholder="{...}" />
+ <marker date="1240219017000" expanded="true" signature="150:180" placeholder="{...}" />
+ </folding>
</state>
</provider>
</entry>
@@ -138,6 +108,9 @@
<option name="LAST_EDITED_MODULE_NAME" />
<option name="LAST_EDITED_TAB_NAME" />
</component>
+ <component name="PackagesPane">
+ <subPane />
+ </component>
<component name="ProjectLevelVcsManager">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
@@ -152,17 +125,193 @@
<subPane>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky.jar" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="http" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky.jar" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="http" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="servlet" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky.jar" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="http" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="response" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky.jar" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="http" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="request" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky.jar" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="slinky" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Libraries" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.LibraryGroupNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -176,7 +325,7 @@
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -194,7 +343,7 @@
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -213,10 +362,14 @@
<option name="myItemId" value="main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="scails" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -246,7 +399,7 @@
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -272,7 +425,7 @@
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -299,10 +452,14 @@
<option name="myItemId" value="resources" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="script" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -314,17 +471,33 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
+ <option name="myItemId" value="src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="main" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
<option name="myItemId" value="resources" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="WEB-INF" />
+ <option name="myItemId" value="script" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="data" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -343,18 +516,28 @@
<option name="myItemId" value="WEB-INF" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="Mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="classes" />
+ <option name="myItemId" value="mohole-scala" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="META-INF" />
+ <option name="myItemId" value="resources" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -366,17 +549,13 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="resources" />
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
- </PATH_ELEMENT>
- <PATH_ELEMENT>
- <option name="myItemId" value="style" />
+ <option name="myItemId" value="build" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -388,13 +567,17 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="etc" />
+ <option name="myItemId" value="build" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -409,10 +592,18 @@
<option name="myItemId" value="build" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
- <option name="myItemId" value="slinky2-demo" />
+ <option name="myItemId" value="mohole" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
@@ -431,6 +622,18 @@
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="mohole" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="resources" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="script" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
</PATH>
</subPane>
</component>
@@ -445,16 +648,16 @@
<showLibraryContents />
<hideEmptyPackages ProjectPane="false" />
<abbreviatePackageNames />
- <showStructure ProjectPane="false" />
- <autoscrollToSource ProjectPane="true" />
- <autoscrollFromSource ProjectPane="true" />
+ <showStructure PackagesPane="false" ProjectPane="false" />
+ <autoscrollToSource PackagesPane="true" ProjectPane="true" />
+ <autoscrollFromSource PackagesPane="true" ProjectPane="true" />
<sortByType />
</navigator>
</component>
<component name="PropertiesComponent">
<property name="project.structure.proportion" value="0.15" />
<property name="MemberChooser.copyJavadoc" value="false" />
- <property name="project.structure.last.edited" value="Project" />
+ <property name="project.structure.last.edited" value="Facets" />
<property name="options.splitter.main.proportions" value="0.3" />
<property name="MemberChooser.sorted" value="false" />
<property name="options.searchVisible" value="true" />
@@ -493,7 +696,7 @@
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
</configuration>
- <configuration default="true" type="TestNG" factoryName="TestNG" enabled="false" merge="false">
+ <configuration default="true" type="TestNG" factoryName="TestNG" enabled="false" merge="false" runner="emma">
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
@@ -551,6 +754,22 @@
<module name="" />
<envs />
</configuration>
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Ruby test">
+ <module name="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
+ <envs />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_CLASS_NAME" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="INHERITANCE_CHECK_DISABLED" VALUE="false" />
+ </configuration>
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
<module name="" />
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)" />
@@ -569,22 +788,6 @@
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUN_SPECS_SEPARATELY" VALUE="false" />
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
</configuration>
- <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Ruby test">
- <module name="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
- <envs />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_CLASS_NAME" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
- <RTEST_RUN_CONFIG_SETTINGS_ID NAME="INHERITANCE_CHECK_DISABLED" VALUE="false" />
- </configuration>
<list size="0" />
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<Host>localhost</Host>
@@ -631,21 +834,21 @@
</component>
<component name="ToolWindowManager">
<frame x="57" y="22" width="1383" height="878" extended-state="6" />
- <editor active="false" />
+ <editor active="true" />
<layout>
<window_info id="Web Preview" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" />
<window_info id="Dataflow to this" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" />
- <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" />
+ <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" />
<window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" />
- <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" />
+ <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" />
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26441947" sideWeight="0.6619898" order="0" side_tool="false" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20539731" sideWeight="0.6619898" order="0" side_tool="false" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="1" side_tool="false" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" />
- <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" />
+ <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" />
@@ -691,116 +894,119 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/etc/VERSION">
+ <entry file="file://$PROJECT_DIR$/build/src/slinky/demo/RequestObj.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="4" column="0" selection-start="81" selection-end="81" vertical-scroll-proportion="0.0">
+ <state line="5" column="26" selection-start="143" selection-end="143" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/resources/style/mohole.css">
+ <entry file="file:///Users/glen/src/slinky2/src/main/slinky/http/servlet/HttpServletRequest.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="4" column="12" selection-start="74" selection-end="74" vertical-scroll-proportion="0.0">
+ <state line="109" column="30" selection-start="3738" selection-end="3738" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/resources/WEB-INF/web.xml">
- <provider editor-type-id="com.intellij.javaee.module.view.web.viewlets.WebModuleAssemblyDescriptorProvider">
- <state />
- </provider>
- <provider editor-type-id="com.intellij.javaee.module.view.web.viewlets.WebModuleGeneralEditorProvider">
- <state />
- </provider>
- <provider editor-type-id="com.intellij.javaee.module.view.web.viewlets.WebModuleAssemblyDescriptorReferencesProvider">
- <state />
- </provider>
+ <entry file="jar:///opt/local/share/scala/src/scala-library-src.jar!/scala/Product.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="11" column="29" selection-start="490" selection-end="490" vertical-scroll-proportion="-9.952381">
+ <state line="19" column="6" selection-start="773" selection-end="773" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/buildj.xml">
+ <entry file="jar://$PROJECT_DIR$/resources/WEB-INF/lib/slinky.jar!/slinky/http/response/NotFound.class">
<provider selected="true" editor-type-id="text-editor">
- <state line="282" column="6" selection-start="11925" selection-end="11925" vertical-scroll-proportion="-23.538462">
+ <state line="1" column="122" selection-start="151" selection-end="151" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file:///Users/glen/src/slinky2/src/main/slinky/http/servlet/HttpServlet.scala">
+ <entry file="file://$PROJECT_DIR$/resources/WEB-INF/logging.properties">
<provider selected="true" editor-type-id="text-editor">
- <state line="56" column="6" selection-start="1685" selection-end="1685" vertical-scroll-proportion="0.0">
+ <state line="2" column="19" selection-start="56" selection-end="56" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file:///Users/glen/src/slinky2/src/main/slinky/http/response/Status.scala">
+ <entry file="file://$PROJECT_DIR$/archive.properties">
<provider selected="true" editor-type-id="text-editor">
- <state line="74" column="18" selection-start="2240" selection-end="2240" vertical-scroll-proportion="0.0">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="jar:///opt/local/share/scala/src/scala-library-src.jar!/scala/Stream.scala">
+ <entry file="file://$PROJECT_DIR$/src/main/scails/edge/JDO.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="87" column="6" selection-start="3116" selection-end="3116" vertical-scroll-proportion="0.0">
+ <state line="11" column="7" selection-start="221" selection-end="221" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/build.xml">
+ <entry file="jar://$PROJECT_DIR$/resources/WEB-INF/lib/slinky.jar!/slinky/http/response/Response.class">
<provider selected="true" editor-type-id="text-editor">
- <state line="64" column="35" selection-start="2875" selection-end="2875" vertical-scroll-proportion="-16.807692">
+ <state line="1" column="21" selection-start="42" selection-end="50" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file:///Users/glen/src/slinky2/src/main/slinky/http/servlet/HttpServletRequest.scala">
+ <entry file="jar://$PROJECT_DIR$/resources/WEB-INF/lib/slinky.jar!/slinky/http/servlet/ServletApplication.class">
<provider selected="true" editor-type-id="text-editor">
- <state line="109" column="30" selection-start="3738" selection-end="3738" vertical-scroll-proportion="0.0">
+ <state line="1" column="15" selection-start="43" selection-end="43" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/.gitignore">
+ <entry file="jar://$PROJECT_DIR$/resources/WEB-INF/lib/slinky.jar!/slinky/http/request/Request.class">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <state line="1" column="13" selection-start="41" selection-end="41" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/main/mohole/App.scala">
+ <entry file="file://$PROJECT_DIR$/src/main/mohole/resources/script/data/Script.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="63" column="0" selection-start="2029" selection-end="2029" vertical-scroll-proportion="0.0">
- <folding />
+ <state line="12" column="19" selection-start="412" selection-end="412" vertical-scroll-proportion="0.0">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/mohole.iws">
+ <entry file="file://$PROJECT_DIR$/src/main/scails/Resources.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="31" selection-start="1197" selection-end="1197" vertical-scroll-proportion="0.0">
+ <state line="4" column="0" selection-start="60" selection-end="69" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/build/src/slinky/demo/RequestObj.java">
+ <entry file="file://$PROJECT_DIR$/src/main/scails/Resource.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="5" column="26" selection-start="143" selection-end="143" vertical-scroll-proportion="0.0">
+ <state line="3" column="10" selection-start="43" selection-end="43" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/main/scails/edge/JDO.scala">
+ <entry file="file://$PROJECT_DIR$/build/src/mohole/resources/script/Script.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="0" column="13" selection-start="13" selection-end="13" vertical-scroll-proportion="0.0">
+ <state line="5" column="12" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">
+ <folding>
+ <marker date="1240219017000" expanded="true" signature="134:182" placeholder="{...}" />
+ <marker date="1240219017000" expanded="true" signature="150:180" placeholder="{...}" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/src/main/mohole/resources/script/Script.scala">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="4" column="6" selection-start="89" selection-end="89" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/mohole.ipr">
+ <entry file="file://$PROJECT_DIR$/src/main/mohole/App.scala">
<provider selected="true" editor-type-id="text-editor">
- <state line="333" column="15" selection-start="19079" selection-end="19079" vertical-scroll-proportion="0.096503496">
+ <state line="29" column="26" selection-start="1121" selection-end="1121" vertical-scroll-proportion="0.025641026">
<folding />
</state>
</provider>
View
3  resources/WEB-INF/logging.properties
@@ -1,2 +1,3 @@
.level = WARNING
-slinky.level = INFO
+mohole.level = INFO
+scails.level = INFO
View
2  src/Mohole.iml
@@ -4,7 +4,7 @@
<facet type="Scala" name="Scala">
<configuration />
</facet>
- <facet type="web" name="Web">
+ <facet type="web" name="Web2">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/../resources/WEB-INF/web.xml" optional="false" version="2.5" />
View
15 src/main/mohole/App.scala
@@ -1,13 +1,14 @@
package mohole
+import _root_.scails.Resources
import Function.curried
import java.util.Date
import java.util.logging.Logger
+import resources.script.Script
import scalaz.OptionW._
import scalaz.EitherW._
import scalaz.StringW._
import scalaz.control.MonadW.{EitherMonad, OptionMonad, EitherLeftMonad, ListMonad}
-import slinky.demo.{RequestObj, Edge}
import slinky.http.servlet.{HttpServlet, HttpServletRequest, ServletApplication, StreamStreamServletApplication}
import slinky.http.servlet.HttpServlet._
@@ -19,6 +20,7 @@ import slinky.http.request.{Request, GET}
import slinky.http.response.{OK, NotFound, BadRequest}
import slinky.http.response.xhtml.Doctype.{transitional, strict}
import slinky.http.response.StreamResponse.{response, statusLine}
+import mohole.resources.script.Script
final class App extends StreamStreamServletApplication {
import App._
@@ -42,11 +44,16 @@ import slinky.http.servlet.HttpServletRequest.c
object App {
implicit val charSet = ISO8859
val logger: Logger = Logger.getLogger(classOf[App].getName)
+ val resources = new Resources(List(Script.get))
- def app(implicit request: Request[Stream], servletRequest: HttpServletRequest) =
- c[Stream](request) match {
- case _ => None
+ def app(implicit request: Request[Stream], servletRequest: HttpServletRequest) = {
+ val lol = c[Stream](request)
+ logger.info("lol = " + lol);
+ lol match {
+ case MethodPath(GET, "/") => Some(redirect("/scripts/list"))
+ case _ => resources.get
}
+ }
def say[A](a: A) = doc("Mohole!", a)
View
44 src/main/slinky/demo/RequestObj.java
@@ -1,44 +0,0 @@
-package slinky.demo;
-
-import com.google.appengine.api.users.User;
-
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.PersistenceCapable;
-import javax.jdo.annotations.Persistent;
-import javax.jdo.annotations.PrimaryKey;
-import java.util.Date;
-
-@PersistenceCapable(identityType = IdentityType.APPLICATION)
-public final class RequestObj {
- @PrimaryKey
- @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
- private Long id;
-
- @Persistent
- private String content;
-
- @Persistent
- private User user;
-
- @Persistent
- private Date date;
-
- public RequestObj(final String content, final User user, Date date) {
- this.content = content;
- this.user = user;
- this.date = date;
- }
-
- public String getContent() {
- return content;
- }
-
- public User getUser() {
- return user;
- }
-
- public Date getDate() {
- return date;
- }
-}
View
7 src/main/slinky/demo/X.java
@@ -1,7 +0,0 @@
-package slinky.demo;
-
-public class X {
- private X() {
- throw new UnsupportedOperationException();
- }
-}
Please sign in to comment.
Something went wrong with that request. Please try again.