Share

Dioscuri - modular emulator

Tracker: Bugs

5 warnings when compiling with GNU gcj - ID: 2849851
Last Update: Settings changed ( bkiers )

warnings about:

- unsused/unread variables
- redundant import statements
- static methods called via an object rather than the class itself ( Are
these methods really suppose to be static ?)
- serialisable classed which do not declare a serialVersionUID
- generics which are not parameterised (raw types). For instance ArrayList
= new ArrayList() should be ArrayList<String> list = new
ArrayList<String>()


David Michel ( dav_m ) - 2009-09-03 10:44

5

Closed

Fixed

Bart Kiers

None

None

Public


Comment ( 1 )

Date: 2009-10-15 15:00
Sender: bkiers

Cleaned up the code:
Cleaning up the code:
- made non-generic collection classes generic;
- suppressing some warnings (mainly missing serialVersionID's);
- removing, or suppressing unused variables;
- removing, or suppressing unused methods;
- removing, or suppressing unused import statements;
- changing the accessing of static variables from instance variable to
class variables;
- fixing unnecessary boxing and unboxing.


Attached File ( 1 )

Filename Description Download
log.gcj compilation log Download

Changes ( 9 )

Field Old Value Date By
status_id Open 2009-10-15 15:00 bkiers
close_date - 2009-10-15 15:00 bkiers
allow_comments 1 2009-10-15 15:00 bkiers
resolution_id None 2009-10-15 15:00 bkiers
assigned_to nobody 2009-10-02 07:57 blohman
summary warnings when compiling with Apache Harmony / GNU gcj 2009-09-03 10:48 dav_m
File Deleted 341589: 2009-09-03 10:47 dav_m
File Added 341591: log.gcj 2009-09-03 10:45 dav_m
File Added 341589: log.harmony 2009-09-03 10:44 dav_m