In The code i am getting typo mistakes for example a method is commented as a constructor :
/**
* Constructor for initializing verifier.
*
* @param args
*/
public void initializeVerifier(String[] args) {
if (!initialized) {
initializeMessageBundle();
initializeFrameworkContext();
initializeStandardAPI();
initializeOptionalPackageDependency();
validateAndParseArgs(args);
initialized = true;
}
}
It should be commented as a method.
In the case of binary verifier we are passing the whole command line array args to the method:
controller.verifyBinaryArchive(args);
and in the case of source verification we are passing the second command line arguement:
controller.verifySourceFiles(args[1]);
Is it not that in both the cases we should pass the second command line arguement:
args[1] which contains the absolute path in case of binary verification and comma sepearted list of directories in the case of source verification.
In all the cases args[0] contains either :
verifybinary
verifysource
So why in the case of verifybinary we are passing args instead of args[1] which contains the absolute path of binary file to be verified.
Regards
Rajeev Kumar
SOFTWARE ENGINEER
ARICENT TECHNOLOGIES
Explore your hobbies and interests. Go to
http://in.promos.yahoo.com/groups/