I am trying to find out which variables, methods & objects got changed between 2 revisions of a file.
Is it possible to find this out in SVN or using SVNKit by writing a Java Program?
Eg: File1.java
public class File1 {
String name;
float rating;
String teacher;
int numofstudents;
public int fees(){
numofstudents = 26;
return 500*1.18;
}
if (rating < 5){
int a = numofstudents;
}
}
File2.java
public class File1 {
String name;
float rating;
String teacher;
int numofstudents;
float marks;
public int fees(){
numofstudents = 25;
return 500*1.18;
}
if (rating < 4){
int a = rating;
}
}
The expected output should be :
"The following values have changed: Variables - numofstudents, a; Methods - fees;
"
By writing normal Java Program, I could print out the differences between the 2 files, but I am unable to print out my expected output