summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHirotaka Matsumoto2013-05-23 22:36:23 (EDT)
committer Hirotaka Matsumoto2013-05-23 22:36:23 (EDT)
commitb94d0a5efc85991e84d906fd15d1503591374ad1 (patch)
treee419dcfd8d2ad239af7abbbac140fef65b6d605c
parent7f5baf4c62fb7cecc41773e4b1c69073f3ea8ff1 (diff)
downloadorg.eclipse.lyo.docs-b94d0a5efc85991e84d906fd15d1503591374ad1.zip
org.eclipse.lyo.docs-b94d0a5efc85991e84d906fd15d1503591374ad1.tar.gz
org.eclipse.lyo.docs-b94d0a5efc85991e84d906fd15d1503591374ad1.tar.bz2
org.eclipse.lyo.oslc4j.bugzilla.trs.ChangeBugzillaHistories.MAXNUMBEROGBUGS Change-Id: Ib71c34c822012bcffbb73efb312f70be4a544eea Signed-off-by: Hirotaka Matsumoto <jljlmatu@jp.ibm.com>
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
index 335736e..36ca8d2 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
@@ -52,7 +52,7 @@ import com.j2bugzilla.rpc.GetProduct;
* This class represents the list of History data in Bugzilla
*/
public class ChangeBugzillaHistories {
- private static final int MAXNUMBEROGBUGS = 100;
+ private static final int MAXNUMBEROFBUGS = 100;
private static final SimpleDateFormat XSD_DATETIME_FORMAT;
static {
XSD_DATETIME_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");//$NON-NLS-1$
@@ -84,7 +84,7 @@ public class ChangeBugzillaHistories {
// get bugs from each product
List<HistoryData> allhistories = new ArrayList<HistoryData>();
for (String productid : productIds) {
- List<Bug> bugList = ChangeBugzillaHistories.getBugsByProduct(httpServletRequest, productid, /* page */0, /* limit */ChangeBugzillaHistories.MAXNUMBEROGBUGS, dayAfter);
+ List<Bug> bugList = ChangeBugzillaHistories.getBugsByProduct(httpServletRequest, productid, /* page */0, /* limit */ChangeBugzillaHistories.MAXNUMBEROFBUGS, dayAfter);
for (Bug bug : bugList) {
Collections.addAll(allhistories, BugzillaManager.getBugHistoryById(httpServletRequest, bug, productid, Integer.toString(bug.getID()), dayAfter));
}