Normalized indentation.
This commit is contained in:
parent
86b16bd570
commit
30c886d95d
|
@ -41,7 +41,7 @@ public class PlugInUtil {
|
|||
}
|
||||
|
||||
public static void populateScope(JavaSourceAnalysisEngine engine, Collection<String> sources, List<String> libs) {
|
||||
if (null != libs ){
|
||||
if (null != libs ) {
|
||||
boolean foundLib = false;
|
||||
for (String lib : libs) {
|
||||
File libFile = new File(lib);
|
||||
|
@ -75,9 +75,9 @@ public class PlugInUtil {
|
|||
public static JavaSourceAnalysisEngine
|
||||
createECJJavaEngine(Collection<String> sources, List<String> libs, final String [] entryPoints) {
|
||||
JavaSourceAnalysisEngine engine=null;
|
||||
if(null == entryPoints){
|
||||
if(null == entryPoints) {
|
||||
engine = new ECJJavaSourceAnalysisEngine();
|
||||
}else{
|
||||
} else {
|
||||
engine = new ECJJavaSourceAnalysisEngine() {
|
||||
@Override
|
||||
protected Iterable<Entrypoint> makeDefaultEntrypoints(AnalysisScope scope, IClassHierarchy cha) {
|
||||
|
|
|
@ -19,25 +19,25 @@ public class SSAInstructionKey {
|
|||
this.key = key;
|
||||
}
|
||||
|
||||
public int hashCode(){
|
||||
public int hashCode() {
|
||||
return key.hashCode();
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
if (null == key){
|
||||
public String toString() {
|
||||
if (null == key) {
|
||||
return "null (key)";
|
||||
}else{
|
||||
} else {
|
||||
return key.toString();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean equals(Object obj){
|
||||
if (null == obj){
|
||||
public boolean equals(Object obj) {
|
||||
if (null == obj) {
|
||||
return false;
|
||||
}else{
|
||||
if (obj instanceof SSAInstructionKey){
|
||||
} else {
|
||||
if (obj instanceof SSAInstructionKey) {
|
||||
return key == ((SSAInstructionKey) obj).key;
|
||||
}else{
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue