[Notice] Announcing the End of Demo Server [Read me]
Yi EungJun 2013-04-02
Fix the remainder of warnings.
@5bb24b79879e4d691897a6e72e40597c180d6aae
app/models/Posting.java
--- app/models/Posting.java
+++ app/models/Posting.java
@@ -13,6 +13,8 @@
 
 @Entity
 public class Posting extends AbstractPosting {
+    private static final long serialVersionUID = 5287703642071155249L;
+
     public static Finder<Long, Posting> finder = new Finder<Long, Posting>(Long.class, Posting.class);
 
     @OneToMany(cascade = CascadeType.ALL)
app/models/support/FinderTemplate.java
--- app/models/support/FinderTemplate.java
+++ app/models/support/FinderTemplate.java
@@ -27,6 +27,7 @@
                         break;
                     case NOT_EQUALS:
                         el.ne(field, value);
+                        break;
                     case GE:
                         el.ge(field, value);
                         break;
app/models/task/CardAssignee.java
--- app/models/task/CardAssignee.java
+++ app/models/task/CardAssignee.java
@@ -11,6 +11,8 @@
 
 @Entity
 public class CardAssignee extends Model {
+    private static final long serialVersionUID = -4353337723141836877L;
+
     private static Finder<Long, CardAssignee> find = new Finder<Long, CardAssignee>(Long.class,
         CardAssignee.class);
 
app/models/task/CardLabel.java
--- app/models/task/CardLabel.java
+++ app/models/task/CardLabel.java
@@ -9,6 +9,8 @@
 @Entity
 public class CardLabel extends Model {
 
+    private static final long serialVersionUID = -5436658861223275375L;
+
     public CardLabel() {
         // TODO Auto-generated constructor stub
     }
app/playRepository/SVNRepository.java
--- app/playRepository/SVNRepository.java
+++ app/playRepository/SVNRepository.java
@@ -75,11 +75,11 @@
 
             SVNProperties prop = new SVNProperties();
 
-            Collection entries = repository.getDir(path, -1, prop, (Collection)null);
+            Collection<SVNDirEntry> entries = repository.getDir(path, -1, prop, SVNDirEntry.DIRENT_ALL, (Collection)null);
 
-            Iterator iterator = entries.iterator( );
+            Iterator<SVNDirEntry> iterator = entries.iterator( );
             while ( iterator.hasNext( ) ) {
-                SVNDirEntry entry = ( SVNDirEntry ) iterator.next( );
+                SVNDirEntry entry = iterator.next( );
 
                 ObjectNode data = Json.newObject();
                 data.put("type", entry.getKind() == SVNNodeKind.DIR ? "folder" : "file");
@@ -132,11 +132,11 @@
 
             SVNProperties prop = new SVNProperties();
 
-            Collection entries = repository.getDir(path, -1, prop, (Collection)null);
+            Collection<SVNDirEntry> entries = repository.getDir(path, -1, prop, SVNDirEntry.DIRENT_ALL, (Collection)null);
 
-            Iterator iterator = entries.iterator( );
+            Iterator<SVNDirEntry> iterator = entries.iterator( );
             while ( iterator.hasNext( ) ) {
-                SVNDirEntry entry = ( SVNDirEntry ) iterator.next( );
+                SVNDirEntry entry = iterator.next( );
 
                 ObjectNode data = Json.newObject();
                 data.put("type", entry.getKind() == SVNNodeKind.DIR ? "folder" : "file");
app/utils/PlayServletContext.java
--- app/utils/PlayServletContext.java
+++ app/utils/PlayServletContext.java
@@ -199,6 +199,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public Servlet getServlet(String arg0) throws ServletException {
         throw new UnsupportedOperationException();
@@ -212,6 +213,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public Enumeration<String> getServletNames() {
         throw new UnsupportedOperationException();
@@ -230,6 +232,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public Enumeration<Servlet> getServlets() {
         throw new UnsupportedOperationException();
@@ -248,6 +251,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public void log(Exception arg0, String arg1) {
         throw new UnsupportedOperationException();
app/utils/PlayServletRequest.java
--- app/utils/PlayServletRequest.java
+++ app/utils/PlayServletRequest.java
@@ -211,6 +211,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public String getRealPath(String path) {
         return Play.application().getFile(path).getAbsolutePath();
@@ -494,6 +495,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public boolean isRequestedSessionIdFromUrl() {
         throw new UnsupportedOperationException();
app/utils/PlayServletResponse.java
--- app/utils/PlayServletResponse.java
+++ app/utils/PlayServletResponse.java
@@ -173,6 +173,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public String encodeRedirectUrl(String url) {
         return encodeRedirectURL(url);
@@ -186,6 +187,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public String encodeUrl(String arg0) {
         throw new UnsupportedOperationException();
@@ -266,6 +268,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public void setStatus(int status, String msg) {
         throw new UnsupportedOperationException();
app/utils/PlayServletSession.java
--- app/utils/PlayServletSession.java
+++ app/utils/PlayServletSession.java
@@ -51,6 +51,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public javax.servlet.http.HttpSessionContext getSessionContext() {
         throw new UnsupportedOperationException();
@@ -59,6 +60,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public Object getValue(String arg0) {
         throw new UnsupportedOperationException();
@@ -67,6 +69,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public String[] getValueNames() {
         throw new UnsupportedOperationException();
@@ -85,6 +88,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public void putValue(String arg0, Object arg1) {
         throw new UnsupportedOperationException();
@@ -98,6 +102,7 @@
     /**
      * @deprecated
      */
+    @Deprecated
     @Override
     public void removeValue(String arg0) {
         throw new UnsupportedOperationException();
Add a comment
List