Skip to content

Commit e747ad6

Browse files
committed
fix style issues
1 parent cd43ee1 commit e747ad6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/object/PythonObject.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ protected static interface PythonObjectLayout {
154154

155155
PHashingCollection getDict(DynamicObject object);
156156

157-
void setDict(DynamicObject object, PHashingCollection dict);
157+
void setDict(DynamicObject object, PHashingCollection value);
158158

159159
LazyPythonClass getLazyPythonClass(DynamicObjectFactory factory);
160160

161161
LazyPythonClass getLazyPythonClass(DynamicObject object);
162162

163-
void setLazyPythonClass(DynamicObject object, LazyPythonClass klass);
163+
void setLazyPythonClass(DynamicObject object, LazyPythonClass value);
164164
}
165165

166166
public static Shape freshShape(LazyPythonClass klass) {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/attributes/WriteAttributeToObjectNode.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
import com.oracle.graal.python.nodes.call.CallNode;
6565
import com.oracle.graal.python.nodes.object.IsBuiltinClassProfile;
6666
import com.oracle.graal.python.runtime.PythonOptions;
67-
import com.oracle.truffle.api.Assumption;
6867
import com.oracle.truffle.api.dsl.Cached;
6968
import com.oracle.truffle.api.dsl.Cached.Exclusive;
7069
import com.oracle.truffle.api.dsl.GenerateUncached;
@@ -184,7 +183,7 @@ protected abstract static class WriteAttributeToObjectNotTypeUncachedNode extend
184183
@Specialization(guards = {
185184
"!isHiddenKey(key)",
186185
"!isDictUnsetOrSameAsStorage(object)"
187-
}, replaces = {"writeToDict", "writeToDictCached"})
186+
}, replaces = {"writeToDict"})
188187
protected boolean writeToDictUncached(PythonObject object, Object key, Object value,
189188
@Cached LookupInheritedAttributeNode.Dynamic getSetItem,
190189
@Cached CallNode callSetItem,

0 commit comments

Comments
 (0)