*** /pedro/ontology/views/OntologyServiceManager.java
2005-07-22 14:41:30.000000000 +0200
--- /pedro/ontology/views/OntologyServiceManager.java
2006-11-09 20:21:02.000000000 +0100
***************
*** 279,287 ****
else {
//the list will have more than twenty and less
than forty terms
! //divide the list into five sublists
int ithSubMenu = 0;
! while (ithSubMenu < 5) {
int startingIndex = ithSubMenu * 5;
if (startingIndex >= numberOfTerms) {
startingIndex = numberOfTerms - 1;
--- 279,287 ----
else {
//the list will have more than twenty and less
than forty terms
! //divide the list into sublists of five Elements
int ithSubMenu = 0;
! while (ithSubMenu * 5 < numberOfTerms ) {
int startingIndex = ithSubMenu * 5;
if (startingIndex >= numberOfTerms) {
startingIndex = numberOfTerms - 1;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1270402
The following patch solves the problem
*** /pedro/ontology/views/OntologyServiceManager.java
2005-07-22 14:41:30.000000000 +0200
--- /pedro/ontology/views/OntologyServiceManager.java
2006-11-09 20:21:02.000000000 +0100
***************
*** 279,287 ****
else {
//the list will have more than twenty and less
than forty terms
! //divide the list into five sublists
int ithSubMenu = 0;
! while (ithSubMenu < 5) {
int startingIndex = ithSubMenu * 5;
if (startingIndex >= numberOfTerms) {
startingIndex = numberOfTerms - 1;
--- 279,287 ----
else {
//the list will have more than twenty and less
than forty terms
! //divide the list into sublists of five Elements
int ithSubMenu = 0;
! while (ithSubMenu * 5 < numberOfTerms ) {
int startingIndex = ithSubMenu * 5;
if (startingIndex >= numberOfTerms) {
startingIndex = numberOfTerms - 1;