[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] Compile errors found in Today's Datatools 1.9.1 Build (BuildId: v20110826-0500 )


Hi All,

Compile errors are found in today's DTP 1.9.1 build(BuildId: v20110826-0500):

org.eclipse.datatools.connectivity.oda.flatfile.ui_3.1.1.v201108251525
org.eclipse.datatools.connectivity.oda.flatfile_3.1.1.v201108251525


Please see the attachments for details.

Have a nice day!

                    
Title: Compiler log for org.eclipse.datatools.connectivity.oda.flatfile.ui_3.1.1.v201108251525

Compiler log for org.eclipse.datatools.connectivity.oda.flatfile.ui_3.1.1.v201108251525 : @dot.xml

TOTAL : ERRORS: 2, WARNINGS: 1

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FolderSelectionPageHelper.java : 2 errors :

1. ERROR in /src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FolderSelectionPageHelper.java
 (at line 242)
if ( folderPath != null && !folderPath.isEmpty( ) )
The method isEmpty() is undefined for the type String
2. ERROR in /src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FolderSelectionPageHelper.java
 (at line 249)
if ( fileURI != null && !fileURI.isEmpty( ) )
The method isEmpty() is undefined for the type String

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FolderSelectionPageHelper.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FolderSelectionPageHelper.java
 (at line 87)
private static final int ERROR_EMPTY_PATH = InvalidResourceException.ERROR_EMPTY_RESOURCE;
The value of the field FolderSelectionPageHelper.ERROR_EMPTY_PATH is not used

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings
Title: Compiler log for org.eclipse.datatools.connectivity.oda.flatfile_3.1.1.v201108251525

Compiler log for org.eclipse.datatools.connectivity.oda.flatfile_3.1.1.v201108251525 : @dot.xml

TOTAL : ERRORS: 2, WARNINGS: 30

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

/src/org/eclipse/datatools/connectivity/oda/flatfile/Connection.java : 2 errors :

1. ERROR in /src/org/eclipse/datatools/connectivity/oda/flatfile/Connection.java
 (at line 78)
if ( homeFolder != null && homeFolder.trim( ).isEmpty( ) )
The method isEmpty() is undefined for the type String
2. ERROR in /src/org/eclipse/datatools/connectivity/oda/flatfile/Connection.java
 (at line 82)
if ( fileURI != null && fileURI.trim( ).isEmpty( ) )
The method isEmpty() is undefined for the type String

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java : 13 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 36)
private static ThreadLocal tlsCache = new ThreadLocal( ) {
ThreadLocal is a raw type. References to generic type ThreadLocal<T> should be parameterized
2. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 36)
private static ThreadLocal tlsCache = new ThreadLocal( ) {
ThreadLocal is a raw type. References to generic type ThreadLocal<T> should be parameterized
3. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 40)
return new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
4. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 44)
private static ThreadLocal patternCache = new ThreadLocal( ) {
ThreadLocal is a raw type. References to generic type ThreadLocal<T> should be parameterized
5. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 44)
private static ThreadLocal patternCache = new ThreadLocal( ) {
ThreadLocal is a raw type. References to generic type ThreadLocal<T> should be parameterized
6. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 48)
HashMap value = new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
7. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 48)
HashMap value = new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
8. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 80)
value.put( patterKey, simpleDateFormatter );
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
9. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 101)
HashMap tlsMap = (HashMap) tlsCache.get( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
10. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 101)
HashMap tlsMap = (HashMap) tlsCache.get( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
11. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 118)
tlsMap.put( keyStr, result );
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
12. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 143)
HashMap patternMap = (HashMap) patternCache.get( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
13. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatFactory.java
 (at line 143)
HashMap patternMap = (HashMap) patternCache.get( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized

/src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatISO8601.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/DateFormatISO8601.java
 (at line 103)
private static int getZoneIndex( String s )
The method getZoneIndex(String) from the type DateFormatISO8601 is never used locally

/src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 37)
List columnsInfoVector = getColumnsInfoList( columnsInfo );
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 88)
private static List getColumnsInfoList( String columnsInfo )
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 90)
List columnsInfoList = new ArrayList( );
List is a raw type. References to generic type List<E> should be parameterized
4. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 90)
List columnsInfoList = new ArrayList( );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 150)
columnsInfoList.add( columnInfo );
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/ColumnsInfoUtil.java
 (at line 154)
columnsInfoList.add( columnInfo );
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized

/src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 324)
String[] columns = FlatFileDataReader.getStringArrayFromList( getQueryColumnNamesVector( selectedColumns ) );
Type safety: The _expression_ of type Vector needs unchecked conversion to conform to List<String>
2. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 381)
static Vector getQueryColumnNamesVector( String queryColumnNames )
Vector is a raw type. References to generic type Vector<E> should be parameterized
3. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 383)
Vector result = new Vector( );
Vector is a raw type. References to generic type Vector<E> should be parameterized
4. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 383)
Vector result = new Vector( );
Vector is a raw type. References to generic type Vector<E> should be parameterized
5. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 385)
List indiceList = new ArrayList( );
List is a raw type. References to generic type List<E> should be parameterized
6. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 385)
List indiceList = new ArrayList( );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
7. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 409)
indiceList.add( new Integer( i ) );
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
8. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 420)
result.add( queryColumnNames.substring( beginIndex, endIndex ).trim( ) );
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
9. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 426)
result.add( queryColumnNames.substring( beginIndex, queryColumnNames.length( ) ).trim( ) );
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
10. WARNING in /src/org/eclipse/datatools/connectivity/oda/flatfile/util/querytextutil/QueryTextUtil.java
 (at line 432)
result.add( queryColumnNames );
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings