Skip to main content

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


Hi All,

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

org.eclipse.datatools.enablement.oda.xml.ui
org.eclipse.datatools.enablement.oda.xml.ui


Please see the attachments for details.

Have a nice day!

                    
Title: Compiler log for org.eclipse.datatools.enablement.oda.xml.ui_1.2.0.v200911251715

Compiler log for org.eclipse.datatools.enablement.oda.xml.ui_1.2.0.v200911251715 : @dot.xml

TOTAL : ERRORS: 1, WARNINGS: 66

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingDialog.java : 1 error :

1. ERROR in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingDialog.java
 (at line 610)
int range[] = xmlPathText.getSelectionRanges( );
The method getSelectionRanges() is undefined for the type StyledText

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/datatools/enablement/oda/xml/ui/utils/XMLRelationInfoUtil.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/utils/XMLRelationInfoUtil.java
 (at line 229)
Iterator iter = info.getTableNames( );
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingDialog.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingDialog.java
 (at line 74)
private List xpathList;
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java : 31 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 109)
private Map columnMap;
Map is a raw type. References to generic type Map<K,V> should be parameterized
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 110)
private List columnMappingList = new ArrayList( );
List is a raw type. References to generic type List<E> should be parameterized
3. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 110)
private List columnMappingList = new ArrayList( );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 153)
this.columnMap = new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
5. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 154)
this.columnMappingList = new ArrayList( );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
6. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 204)
this.columnMap = new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
7. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 361)
HashSet selectedNodes = new HashSet( );
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
8. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 361)
HashSet selectedNodes = new HashSet( );
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
9. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 485)
if ( inputElement instanceof ArrayList )
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
10. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 487)
ArrayList inputList = new ArrayList( 10 );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
11. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 487)
ArrayList inputList = new ArrayList( 10 );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
12. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 488)
inputList.addAll( columnMappingList );
Type safety: The method addAll(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
13. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 518)
private void addChildrenElements( ATreeNode aTreeNode, HashSet selectedNodes )
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
14. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 531)
selectedNodes.add( aTreeNode );
Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
15. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 578)
columnMap = new HashMap( );
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
16. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 579)
columnMappingList = new ArrayList( );
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
17. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 970)
columnMap.put( editedColumnName, columnMappingElement );
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
18. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 973)
columnMappingList.set( index, columnMappingElement );
Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
19. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1097)
this.columnMappingList.set( index, this.columnMappingList.get( index - 1 ) );
Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
20. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1099)
this.columnMappingList.set( index - 1, obj );
Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
21. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1123)
this.columnMappingList.set( index, this.columnMappingList.get( index + 1 ) );
Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
22. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1125)
this.columnMappingList.set( index + 1, obj );
Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List<E> should be parameterized
23. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1262)
Iterator rowObj = this.columnMappingList.iterator( );
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
24. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1481)
Map prefixMapping = null;
Map is a raw type. References to generic type Map<K,V> should be parameterized
25. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1500)
Iterator entryIter = prefixMapping.entrySet( ).iterator( );
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
26. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1504)
Entry entry = (Entry) entryIter.next( );
Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
27. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1504)
Entry entry = (Entry) entryIter.next( );
Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
28. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1627)
columnMap.put( alias, columnElement );
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
29. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1633)
columnMap.put( columnName, columnElement );
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
30. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1635)
columnMappingList.add( columnElement );
Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized
31. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingPage.java
 (at line 1671)
private boolean handleSelectedItem( TreeItem selectedItem, HashSet selectedNodes )
HashSet is a raw type. References to generic type HashSet<E> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 271)
public List refresh( RelationInformation info, String tableName,
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 272)
Map columnMapping )
Map is a raw type. References to generic type Map<K,V> should be parameterized
3. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 274)
ArrayList columnsList = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 274)
ArrayList columnsList = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
5. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 298)
columnMapping.put( columnName[i], element );
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
6. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ColumnMappingTableViewer.java
 (at line 299)
columnsList.add( element );
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java : 20 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 26)
private static HashMap displayNameDataTypeMapping = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 26)
private static HashMap displayNameDataTypeMapping = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
3. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 27)
private static HashMap dataTypeDisplayNameMapping = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
4. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 27)
private static HashMap dataTypeDisplayNameMapping = new HashMap();
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
5. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 31)
displayNameDataTypeMapping.put( Messages.getString("datatypes.dateTime"),new Integer( DataTypes.TIMESTAMP ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
6. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 32)
displayNameDataTypeMapping.put( Messages.getString("datatypes.decimal"),new Integer( DataTypes.BIGDECIMAL ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
7. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 33)
displayNameDataTypeMapping.put( Messages.getString("datatypes.float"),new Integer( DataTypes.DOUBLE ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
8. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 34)
displayNameDataTypeMapping.put( Messages.getString("datatypes.integer"), new Integer( DataTypes.INT )); //$NON-NLS-1$
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/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 35)
displayNameDataTypeMapping.put( Messages.getString("datatypes.date"), new Integer( DataTypes.DATE ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
10. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 36)
displayNameDataTypeMapping.put( Messages.getString("datatypes.time"), new Integer( DataTypes.TIME ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
11. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 37)
displayNameDataTypeMapping.put( Messages.getString("datatypes.string"), new Integer( DataTypes.STRING ) ); //$NON-NLS-1$
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/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 38)
displayNameDataTypeMapping.put( Messages.getString("datatypes.boolean"), new Integer( DataTypes.BOOLEAN ) ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
13. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 40)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.TIMESTAMP ), Messages.getString("datatypes.dateTime") ); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
14. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 41)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.BIGDECIMAL ), Messages.getString("datatypes.decimal")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
15. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 42)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.DOUBLE ), Messages.getString("datatypes.float")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
16. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 43)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.INT ),Messages.getString("datatypes.integer")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
17. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 44)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.DATE ),Messages.getString("datatypes.date")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
18. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 45)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.TIME ), Messages.getString("datatypes.time")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
19. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 46)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.STRING ), Messages.getString("datatypes.string")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized
20. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/DataTypeUtil.java
 (at line 47)
dataTypeDisplayNameMapping.put( new Integer( DataTypes.BOOLEAN ), Messages.getString("datatypes.boolean")); //$NON-NLS-1$
Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ResultSetTableViewer.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ResultSetTableViewer.java
 (at line 324)
Arrays.sort( tableItems, new Comparator( ) { public int compare( Object o1, Object o2 ) { TableItem it1 = (TableItem) o1; TableItem it2 = (TableItem) o2; int result = 0; if ( asc ) { result = it1.getText( columnIndex ) .compareTo( it2.getText( columnIndex ) ); } else { result = it2.getText( columnIndex ) .compareTo( it1.getText( columnIndex ) ); } return result; } } );
Type safety: Unchecked invocation sort(TableItem[], new Comparator(){}) of the generic method sort(T[], Comparator<? super T>) of type Arrays
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ResultSetTableViewer.java
 (at line 324)
Arrays.sort( tableItems, new Comparator( ) { public int compare( Object o1, Object o2 ) { TableItem it1 = (TableItem) o1; TableItem it2 = (TableItem) o2; int result = 0; if ( asc ) { result = it1.getText( columnIndex ) .compareTo( it2.getText( columnIndex ) ); } else { result = it2.getText( columnIndex ) .compareTo( it1.getText( columnIndex ) ); } return result; } } );
Type safety: The _expression_ of type new Comparator(){} needs unchecked conversion to conform to Comparator<? super TableItem>
3. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/ResultSetTableViewer.java
 (at line 324)
Arrays.sort( tableItems, new Comparator( ) {
Comparator is a raw type. References to generic type Comparator<T> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/RowMappingDialog.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/RowMappingDialog.java
 (at line 47)
private List pathList;
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/RowMappingDialog.java
 (at line 269)
private List getSelectedXPathList( )
List is a raw type. References to generic type List<E> should be parameterized

/src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/XMLSelectionPageHelper.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/XMLSelectionPageHelper.java
 (at line 42)
import org.eclipse.swt.widgets.Shell;
The import org.eclipse.swt.widgets.Shell is never used
2. WARNING in /src/org/eclipse/datatools/enablement/oda/xml/ui/wizards/XMLSelectionPageHelper.java
 (at line 198)
for ( Iterator i = Charset.availableCharsets( ).keySet( ).iterator( ); i.hasNext( ); )
Iterator is a raw type. References to generic type Iterator<E> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

Back to the top