[Notice] Announcing the End of Demo Server [Read me]

Fix the remainder of warnings.
@5bb24b79879e4d691897a6e72e40597c180d6aae
--- app/models/Posting.java
+++ app/models/Posting.java
... | ... | @@ -13,6 +13,8 @@ |
13 | 13 |
|
14 | 14 |
@Entity |
15 | 15 |
public class Posting extends AbstractPosting { |
16 |
+ private static final long serialVersionUID = 5287703642071155249L; |
|
17 |
+ |
|
16 | 18 |
public static Finder<Long, Posting> finder = new Finder<Long, Posting>(Long.class, Posting.class); |
17 | 19 |
|
18 | 20 |
@OneToMany(cascade = CascadeType.ALL) |
--- app/models/support/FinderTemplate.java
+++ app/models/support/FinderTemplate.java
... | ... | @@ -27,6 +27,7 @@ |
27 | 27 |
break; |
28 | 28 |
case NOT_EQUALS: |
29 | 29 |
el.ne(field, value); |
30 |
+ break; |
|
30 | 31 |
case GE: |
31 | 32 |
el.ge(field, value); |
32 | 33 |
break; |
--- app/models/task/CardAssignee.java
+++ app/models/task/CardAssignee.java
... | ... | @@ -11,6 +11,8 @@ |
11 | 11 |
|
12 | 12 |
@Entity |
13 | 13 |
public class CardAssignee extends Model { |
14 |
+ private static final long serialVersionUID = -4353337723141836877L; |
|
15 |
+ |
|
14 | 16 |
private static Finder<Long, CardAssignee> find = new Finder<Long, CardAssignee>(Long.class, |
15 | 17 |
CardAssignee.class); |
16 | 18 |
|
--- app/models/task/CardLabel.java
+++ app/models/task/CardLabel.java
... | ... | @@ -9,6 +9,8 @@ |
9 | 9 |
@Entity |
10 | 10 |
public class CardLabel extends Model { |
11 | 11 |
|
12 |
+ private static final long serialVersionUID = -5436658861223275375L; |
|
13 |
+ |
|
12 | 14 |
public CardLabel() { |
13 | 15 |
// TODO Auto-generated constructor stub |
14 | 16 |
} |
--- app/playRepository/SVNRepository.java
+++ app/playRepository/SVNRepository.java
... | ... | @@ -75,11 +75,11 @@ |
75 | 75 |
|
76 | 76 |
SVNProperties prop = new SVNProperties(); |
77 | 77 |
|
78 |
- Collection entries = repository.getDir(path, -1, prop, (Collection)null); |
|
78 |
+ Collection<SVNDirEntry> entries = repository.getDir(path, -1, prop, SVNDirEntry.DIRENT_ALL, (Collection)null); |
|
79 | 79 |
|
80 |
- Iterator iterator = entries.iterator( ); |
|
80 |
+ Iterator<SVNDirEntry> iterator = entries.iterator( ); |
|
81 | 81 |
while ( iterator.hasNext( ) ) { |
82 |
- SVNDirEntry entry = ( SVNDirEntry ) iterator.next( ); |
|
82 |
+ SVNDirEntry entry = iterator.next( ); |
|
83 | 83 |
|
84 | 84 |
ObjectNode data = Json.newObject(); |
85 | 85 |
data.put("type", entry.getKind() == SVNNodeKind.DIR ? "folder" : "file"); |
... | ... | @@ -132,11 +132,11 @@ |
132 | 132 |
|
133 | 133 |
SVNProperties prop = new SVNProperties(); |
134 | 134 |
|
135 |
- Collection entries = repository.getDir(path, -1, prop, (Collection)null); |
|
135 |
+ Collection<SVNDirEntry> entries = repository.getDir(path, -1, prop, SVNDirEntry.DIRENT_ALL, (Collection)null); |
|
136 | 136 |
|
137 |
- Iterator iterator = entries.iterator( ); |
|
137 |
+ Iterator<SVNDirEntry> iterator = entries.iterator( ); |
|
138 | 138 |
while ( iterator.hasNext( ) ) { |
139 |
- SVNDirEntry entry = ( SVNDirEntry ) iterator.next( ); |
|
139 |
+ SVNDirEntry entry = iterator.next( ); |
|
140 | 140 |
|
141 | 141 |
ObjectNode data = Json.newObject(); |
142 | 142 |
data.put("type", entry.getKind() == SVNNodeKind.DIR ? "folder" : "file"); |
--- app/utils/PlayServletContext.java
+++ app/utils/PlayServletContext.java
... | ... | @@ -199,6 +199,7 @@ |
199 | 199 |
/** |
200 | 200 |
* @deprecated |
201 | 201 |
*/ |
202 |
+ @Deprecated |
|
202 | 203 |
@Override |
203 | 204 |
public Servlet getServlet(String arg0) throws ServletException { |
204 | 205 |
throw new UnsupportedOperationException(); |
... | ... | @@ -212,6 +213,7 @@ |
212 | 213 |
/** |
213 | 214 |
* @deprecated |
214 | 215 |
*/ |
216 |
+ @Deprecated |
|
215 | 217 |
@Override |
216 | 218 |
public Enumeration<String> getServletNames() { |
217 | 219 |
throw new UnsupportedOperationException(); |
... | ... | @@ -230,6 +232,7 @@ |
230 | 232 |
/** |
231 | 233 |
* @deprecated |
232 | 234 |
*/ |
235 |
+ @Deprecated |
|
233 | 236 |
@Override |
234 | 237 |
public Enumeration<Servlet> getServlets() { |
235 | 238 |
throw new UnsupportedOperationException(); |
... | ... | @@ -248,6 +251,7 @@ |
248 | 251 |
/** |
249 | 252 |
* @deprecated |
250 | 253 |
*/ |
254 |
+ @Deprecated |
|
251 | 255 |
@Override |
252 | 256 |
public void log(Exception arg0, String arg1) { |
253 | 257 |
throw new UnsupportedOperationException(); |
--- app/utils/PlayServletRequest.java
+++ app/utils/PlayServletRequest.java
... | ... | @@ -211,6 +211,7 @@ |
211 | 211 |
/** |
212 | 212 |
* @deprecated |
213 | 213 |
*/ |
214 |
+ @Deprecated |
|
214 | 215 |
@Override |
215 | 216 |
public String getRealPath(String path) { |
216 | 217 |
return Play.application().getFile(path).getAbsolutePath(); |
... | ... | @@ -494,6 +495,7 @@ |
494 | 495 |
/** |
495 | 496 |
* @deprecated |
496 | 497 |
*/ |
498 |
+ @Deprecated |
|
497 | 499 |
@Override |
498 | 500 |
public boolean isRequestedSessionIdFromUrl() { |
499 | 501 |
throw new UnsupportedOperationException(); |
--- app/utils/PlayServletResponse.java
+++ app/utils/PlayServletResponse.java
... | ... | @@ -173,6 +173,7 @@ |
173 | 173 |
/** |
174 | 174 |
* @deprecated |
175 | 175 |
*/ |
176 |
+ @Deprecated |
|
176 | 177 |
@Override |
177 | 178 |
public String encodeRedirectUrl(String url) { |
178 | 179 |
return encodeRedirectURL(url); |
... | ... | @@ -186,6 +187,7 @@ |
186 | 187 |
/** |
187 | 188 |
* @deprecated |
188 | 189 |
*/ |
190 |
+ @Deprecated |
|
189 | 191 |
@Override |
190 | 192 |
public String encodeUrl(String arg0) { |
191 | 193 |
throw new UnsupportedOperationException(); |
... | ... | @@ -266,6 +268,7 @@ |
266 | 268 |
/** |
267 | 269 |
* @deprecated |
268 | 270 |
*/ |
271 |
+ @Deprecated |
|
269 | 272 |
@Override |
270 | 273 |
public void setStatus(int status, String msg) { |
271 | 274 |
throw new UnsupportedOperationException(); |
--- app/utils/PlayServletSession.java
+++ app/utils/PlayServletSession.java
... | ... | @@ -51,6 +51,7 @@ |
51 | 51 |
/** |
52 | 52 |
* @deprecated |
53 | 53 |
*/ |
54 |
+ @Deprecated |
|
54 | 55 |
@Override |
55 | 56 |
public javax.servlet.http.HttpSessionContext getSessionContext() { |
56 | 57 |
throw new UnsupportedOperationException(); |
... | ... | @@ -59,6 +60,7 @@ |
59 | 60 |
/** |
60 | 61 |
* @deprecated |
61 | 62 |
*/ |
63 |
+ @Deprecated |
|
62 | 64 |
@Override |
63 | 65 |
public Object getValue(String arg0) { |
64 | 66 |
throw new UnsupportedOperationException(); |
... | ... | @@ -67,6 +69,7 @@ |
67 | 69 |
/** |
68 | 70 |
* @deprecated |
69 | 71 |
*/ |
72 |
+ @Deprecated |
|
70 | 73 |
@Override |
71 | 74 |
public String[] getValueNames() { |
72 | 75 |
throw new UnsupportedOperationException(); |
... | ... | @@ -85,6 +88,7 @@ |
85 | 88 |
/** |
86 | 89 |
* @deprecated |
87 | 90 |
*/ |
91 |
+ @Deprecated |
|
88 | 92 |
@Override |
89 | 93 |
public void putValue(String arg0, Object arg1) { |
90 | 94 |
throw new UnsupportedOperationException(); |
... | ... | @@ -98,6 +102,7 @@ |
98 | 102 |
/** |
99 | 103 |
* @deprecated |
100 | 104 |
*/ |
105 |
+ @Deprecated |
|
101 | 106 |
@Override |
102 | 107 |
public void removeValue(String arg0) { |
103 | 108 |
throw new UnsupportedOperationException(); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?