Permalink
Browse files

Fix errors that showed up with latest Gosu plugin

  • Loading branch information...
1 parent 6068254 commit b19cf23cb1654a970eeba6cbc79b8af9c8faf57a tmorris committed Oct 8, 2012
View
9 .idea/libraries/junit.xml
@@ -0,0 +1,9 @@
+<component name="libraryTable">
+ <library name="junit">
+ <CLASSES>
+ <root url="jar://$APPLICATION_HOME_DIR$/lib/junit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+</component>
View
1 GosuDoc.iml
@@ -11,6 +11,7 @@
<orderEntry type="module" module-name="core" />
<orderEntry type="module" module-name="html" />
<orderEntry type="module" module-name="itype" />
+ <orderEntry type="library" scope="TEST" name="junit" level="project" />
</component>
</module>
View
2 html/src/gw/gosudoc/html/GosuDocHtmlFactory.gs
@@ -24,6 +24,6 @@ class GosuDocHtmlFactory {
}
private static function defaultCreate<T,H>(type : Type<H>, coreObject : T) : H {
- return ReflectUtil.construct(type.Name, {coreObject}) as H
+ return ReflectUtil.construct(type.Name, {coreObject})
}
}
View
3 itype/src/gw/gosudoc/itype/GosuDocIType.gs
@@ -140,6 +140,7 @@ internal class GosuDocIType implements IGosuDocType, Comparable<GosuDocIType> {
var interfaceList = iType.Interfaces
.where(\ i -> i.Name != "_proxy_.gw.lang.reflect.gs.IGosuObject")
.map(\ i -> new GosuDocITypeReference(_docSet, i))
- return new GosuDocRelationship (INTERFACES, interfaceList)
+ .toList()
+ return new GosuDocRelationship(INTERFACES, interfaceList)
}
}

0 comments on commit b19cf23

Please sign in to comment.