Am I getting my hotfix right?
Hi,
I assume if I am connected to net and engage download manager and I get a reply that no updates are available I have all downloads I need.
I gather bug 6466674 hotfix fixes code revertion to original state.
Last several months I have to frequently take care of code error due to IDE interference:
My code:
this.getSessionBean1().getDifferListDataProvider().clearObjectList();
this.getSessionBean1().getDifferListDataProvider().commitChanges();
//fill table stuff
try{
int numOfLines2 = 0;
int count2=0;
String theLine2 =null;
FileReader fr4 =new FileReader("C:/CreatorProjects/Agendpairs.prs");
BufferedReader br4 =new BufferedReader(fr4);
while ((theLine2 = br4.readLine()) !=null){
numOfLines2++;
}
fr4.close();// close the file.
br4.close();
FileReader fr =new FileReader("C:/CreatorProjects/Agendpairs.prs");
BufferedReader br =new BufferedReader(fr);
String s="";
while ((theLine2 = br.readLine()) !=null || count2 <= numOfLines2){
// String[][] parts1 = new String[theLine2.split(";").length][];
String[][] parts1 =new String[theLine2.split(";").length][];
for(int i = 0; i < parts1.length; i++)
parts1[i] = theLine2.split(";");
for(int j = 0; j < parts1.length/2; j++){
for(int k = 0; k < parts1.length/2; k++){
Differ addedName =new Differ(parts1[j][k],parts1[j][k+1]);
this.getSessionBean1().getDifferListDataProvider().appendRow(addedName);
this.getSessionBean1().getDifferListDataProvider().commitChanges();
k++;
break;
}
}
count2++;
}
br.close();
fr.close();
}catch(Exception e){
e.printStackTrace();
}
//end table stuff
IDE meddled code:
this.getSessionBean1().getDifferListDataProvider().clearObjectList();
this.getSessionBean1().getDifferListDataProvider().commitChanges();
//fill table stuff
try{
int numOfLines2 = 0;
int count2=0;
String theLine2 =null;
FileReader fr4 =new FileReader("C:/CreatorProjects/Agendpairs.prs");
BufferedReader br4 =new BufferedReader(fr4);
while ((theLine2 = br4.readLine()) !=null){
numOfLines2++;
}
fr4.close();// close the file.
br4.close();
FileReader fr =new FileReader("C:/CreatorProjects/Agendpairs.prs");
BufferedReader br =new BufferedReader(fr);
String s="";
while ((theLine2 = br.readLine()) !=null || count2 <= numOfLines2){
// String[][] parts1 = new String[theLine2.split(";").length][];
String[][] parts1 =new String[theLine2.split(";").length][;for(int i = 0; i < parts1.length; i++)//here is the error!!!!!!!!!!!!!!!!!!!
parts1[i] = theLine2.split(";");
for(int j = 0; j < parts1.length/2; j++){
for(int k = 0; k < parts1.length/2; k++){
Differ addedName =new Differ(parts1[j][k],parts1[j][k+1]);
this.getSessionBean1().getDifferListDataProvider().appendRow(addedName);
this.getSessionBean1().getDifferListDataProvider().commitChanges();
k++;
break;
}
}
count2++;
}
br.close();
fr.close();
}catch(Exception e){
e.printStackTrace();
}
//end table stuff
can it still be identified as a bug?
thanks
dr.am.mohan rao

