Skip to content

Commit 4a17feb

Browse files
author
Jaroslav Tulach
committed
Fixing Javadoc warnings
1 parent 36d8417 commit 4a17feb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Layout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static Layout createLayout() {
8686
* @param objectType that describes the object instance with this shape.
8787
* @param sharedData for language-specific use
8888
* @param id for language-specific use
89-
* @return
89+
* @return new instance of a shape
9090
*/
9191
public abstract Shape createShape(ObjectType objectType, Object sharedData, int id);
9292

truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Property.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ protected Property() {
3535
/**
3636
* Create a new property.
3737
*
38-
* @param flags, for language-specific use
38+
* @param key the key of the property
39+
* @param location location of the property
40+
* @param flags for language-specific use
41+
* @return new instance of the property
3942
*/
4043
public static Property create(Object key, Location location, int flags) {
4144
return Layout.getFactory().createProperty(key, location, flags);

0 commit comments

Comments
 (0)