-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
可以只put一次;
private static Object getTargetService(String proName) {
HashMap hashMap = new HashMap();
hashMap.put(":guard", CommuStubService0.class);
hashMap.put(":banana", CommuStubService1.class);
hashMap.put("com.android.apple", CommuStubService2.class);
hashMap.put(":test4", CommuStubService3.class);
hashMap.put("com.android.test5", CommuStubService4.class);
hashMap.put(":apple", CommuStubService5.class);
hashMap.put(":tea", CommuStubService6.class);
hashMap.put("com.android.test6", CommuStubService7.class);
hashMap.put(":test3", CommuStubService8.class);
hashMap.put(":test2", CommuStubService9.class);
hashMap.put(":test1", CommuStubService10.class);
return hashMap.get(proName) != null ? hashMap.get(proName) : null;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels