Skip to content

Commit 2e670c4

Browse files
committed
Manually update automatically generated stubs
1 parent acc43fc commit 2e670c4

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/MapUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
package org.apache.commons.collections4;
44

55
import java.io.PrintStream;
6+
import java.util.Collection;
67
import java.util.Map;
78
import java.util.Properties;
89
import java.util.ResourceBundle;

java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/keyvalue/AbstractMapEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Map;
66
import org.apache.commons.collections4.keyvalue.AbstractKeyValue;
77

8-
abstract public class AbstractMapEntry<K, V> extends Map.Entry<K, V> implements Map.Entry<K, V>
8+
abstract public class AbstractMapEntry<K, V> extends AbstractKeyValue<K, V> implements Map.Entry<K, V>
99
{
1010
protected AbstractMapEntry() {}
1111
protected AbstractMapEntry(K p0, V p1){}

java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/keyvalue/DefaultMapEntry.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ protected DefaultMapEntry() {}
1212
public DefaultMapEntry(K p0, V p1){}
1313
public DefaultMapEntry(KeyValue<? extends K, ? extends V> p0){}
1414
public DefaultMapEntry(Map.Entry<? extends K, ? extends V> p0){}
15+
public V getValue(){ return null; }
16+
public K getKey(){ return null; }
1517
}

java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/keyvalue/UnmodifiableMapEntry.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ public UnmodifiableMapEntry(K p0, V p1){}
1414
public UnmodifiableMapEntry(KeyValue<? extends K, ? extends V> p0){}
1515
public UnmodifiableMapEntry(Map.Entry<? extends K, ? extends V> p0){}
1616
public V setValue(V p0){ return null; }
17+
public V getValue(){ return null; }
18+
public K getKey(){ return null; }
1719
}

java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/map/MultiValueMap.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import org.apache.commons.collections4.MultiMap;
1212
import org.apache.commons.collections4.map.AbstractMapDecorator;
1313

14-
public class MultiValueMap<K, V> extends MultiMap<K, V> implements MultiMap<K, V>, Serializable
14+
public class MultiValueMap<K, V> extends AbstractMapDecorator<K, Object> implements MultiMap<K, V>, Serializable
1515
{
1616
protected Collection<V> createCollection(int p0){ return null; }
17-
protected MultiValueMap(Map<K, ? super C> p0, Factory<C> p1){}
17+
protected <C> MultiValueMap(Map<K, ? super C> p0, Factory<C> p1){}
1818
public Collection<Object> values(){ return null; }
1919
public Collection<V> getCollection(Object p0){ return null; }
2020
public Iterator<Map.Entry<K, V>> iterator(){ return null; }
@@ -33,4 +33,8 @@ public MultiValueMap(){}
3333
public static <K, V> MultiValueMap<K, V> multiValueMap(Map<K, ? super Collection<V>> p0){ return null; }
3434
public void clear(){}
3535
public void putAll(Map<? extends K, ?> p0){}
36+
public int size(){ return 0; }
37+
public Object remove(Object key){ return null; }
38+
public Object get(Object key){ return null; }
39+
public boolean isEmpty(){ return false; }
3640
}

0 commit comments

Comments
 (0)