Revision: 17869
http://sourceforge.net/p/gate/code/17869
Author: markagreenwood
Date: 2014-04-18 10:01:03 +0000 (Fri, 18 Apr 2014)
Log Message:
-----------
suppressed or fixed a few more rawtypes warnings
Modified Paths:
--------------
gate/trunk/src/main/com/ontotext/gate/gazetteer/HashGazetteer.java
gate/trunk/src/main/gate/jape/RightHandSide.java
gate/trunk/src/main/gate/jape/SinglePhaseTransducer.java
Modified: gate/trunk/src/main/com/ontotext/gate/gazetteer/HashGazetteer.java
===================================================================
--- gate/trunk/src/main/com/ontotext/gate/gazetteer/HashGazetteer.java
2014-04-18 09:58:57 UTC (rev 17868)
+++ gate/trunk/src/main/com/ontotext/gate/gazetteer/HashGazetteer.java
2014-04-18 10:01:03 UTC (rev 17869)
@@ -45,7 +45,7 @@
private AnnotationSet annotationSet = null;
@Override
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked","rawtypes"})
public Resource init() throws ResourceInstantiationException {
if(mapsList != null) {
// this is a duplicate - nothing to do
Modified: gate/trunk/src/main/gate/jape/RightHandSide.java
===================================================================
--- gate/trunk/src/main/gate/jape/RightHandSide.java 2014-04-18 09:58:57 UTC
(rev 17868)
+++ gate/trunk/src/main/gate/jape/RightHandSide.java 2014-04-18 10:01:03 UTC
(rev 17869)
@@ -312,7 +312,7 @@
if (actionContext.isDebuggingEnabled()) {
AnnotationSet outputASproxy =
- (AnnotationSet)Proxy.newProxyInstance(classloader, new Class[]
{AnnotationSet.class},
+ (AnnotationSet)Proxy.newProxyInstance(classloader, new
Class<?>[] {AnnotationSet.class},
new InvocationHandler() {
public Object invoke(Object proxy, Method method,
Object[] args) throws Throwable {
Modified: gate/trunk/src/main/gate/jape/SinglePhaseTransducer.java
===================================================================
--- gate/trunk/src/main/gate/jape/SinglePhaseTransducer.java 2014-04-18
09:58:57 UTC (rev 17868)
+++ gate/trunk/src/main/gate/jape/SinglePhaseTransducer.java 2014-04-18
10:01:03 UTC (rev 17869)
@@ -452,6 +452,7 @@
.getConstraints();
boolean hasPositiveConstraint = false;
+ @SuppressWarnings("rawtypes")
List<Annotation>[] matchesByConstraint = new
List[currentConstraints.length];
for(int i = 0; i < matchesByConstraint.length; i++)
matchesByConstraint[i] = null;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs