projects
/
pnews.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
read categories information from the configuration
[pnews.git]
/
war
/
src
/
main
/
java
/
pnews
/
servlet
/
JSON.java
diff --git
a/war/src/main/java/pnews/servlet/JSON.java
b/war/src/main/java/pnews/servlet/JSON.java
index
8146b78
..
a36367e
100644
(file)
--- a/
war/src/main/java/pnews/servlet/JSON.java
+++ b/
war/src/main/java/pnews/servlet/JSON.java
@@
-34,7
+34,7
@@
public class JSON {
for (Category cat: cats)
try {
- jcategories.addProperty(cat.get
Name
(),
+ jcategories.addProperty(cat.get
Label
(),
articles.length);
} catch (IllegalArgumentException e) {
LOG.log(Level.SEVERE, "Fail to retrieve articles", e);