mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Fixed some references to generic types
This commit is contained in:
parent
2eff37f655
commit
c34988bbbd
4 changed files with 5 additions and 5 deletions
|
@ -297,7 +297,7 @@ public class EntryPointAnalyzer extends AbstractAnalyzer {
|
|||
Listing listing = program.getListing();
|
||||
SymbolTable symbolTable = program.getSymbolTable();
|
||||
|
||||
Set<Address> indirectSet = new HashSet();
|
||||
Set<Address> indirectSet = new HashSet<Address>();
|
||||
|
||||
Iterator<Address> iter = doNowSet.iterator();
|
||||
while (iter.hasNext()) {
|
||||
|
|
|
@ -151,7 +151,7 @@ public class DWARFAttributeDef<E extends Enum<E>> {
|
|||
if (!(obj instanceof DWARFAttributeDef)) {
|
||||
return false;
|
||||
}
|
||||
DWARFAttributeDef other = (DWARFAttributeDef) obj;
|
||||
DWARFAttributeDef<?> other = (DWARFAttributeDef<?>) obj;
|
||||
return attributeForm == other.attributeForm &&
|
||||
Objects.equals(attributeId, other.attributeId) &&
|
||||
implicitValue == other.implicitValue && rawAttributeId == other.rawAttributeId;
|
||||
|
|
|
@ -787,7 +787,7 @@ public class DefineTable {
|
|||
//
|
||||
String strValue = getValue(defName);
|
||||
|
||||
ArrayList<String> list = new ArrayList();
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
list.add(defName);
|
||||
|
||||
String strExpanded = expand(strValue, true, list);
|
||||
|
|
|
@ -58,7 +58,7 @@ public class WeakHashMap2<K, V> extends AbstractMap<K, V> {
|
|||
return false;
|
||||
}
|
||||
|
||||
WeakValue other = (WeakValue) o;
|
||||
WeakValue<?> other = (WeakValue<?>) o;
|
||||
return get() == other.get();
|
||||
}
|
||||
|
||||
|
@ -231,7 +231,7 @@ public class WeakHashMap2<K, V> extends AbstractMap<K, V> {
|
|||
}
|
||||
|
||||
public K reverseGet(V value) {
|
||||
WeakValue v = WeakValue.create(value, queue);
|
||||
WeakValue<V> v = WeakValue.create(value, queue);
|
||||
return reverseHash.get(v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue