Project

General

Profile

Actions

Bug #5018

closed

[build] Compilation warnings: unchecked call

Added by Alexander Kamkin over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
07/03/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
r1139

Description

Buildfile: C:\SVN\retrascope\retrascope\build.xml

build:
   [delete] Deleting directory C:\SVN\retrascope\retrascope\dist
    [mkdir] Created dir: C:\SVN\retrascope\retrascope\bin
    [javac] Compiling 160 source files to C:\SVN\retrascope\retrascope\bin
    [javac] C:\SVN\retrascope\retrascope\src\main\java\ru\ispras\retrascope\parser\verilog\printer\smv\helper\Saver.java:11: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
    [javac]         names.addElement(new String(str));
    [javac]                         ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class Vector
    [javac] C:\SVN\retrascope\retrascope\src\main\java\ru\ispras\retrascope\parser\verilog\printer\smv\helper\Saver.java:15: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
    [javac]         values.addElement(new String(value));
    [javac]                          ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class Vector
    [javac] 2 warnings
    [mkdir] Created dir: C:\SVN\retrascope\retrascope\dist
      [jar] Building jar: C:\SVN\retrascope\retrascope\dist\retrascope.jar
   [delete] Deleting directory C:\SVN\retrascope\retrascope\bin

BUILD SUCCESSFUL
Total time: 3 seconds
Actions #1

Updated by Sergey Smolov about 10 years ago

  • Status changed from New to Open
Actions #2

Updated by Sergey Smolov about 10 years ago

  • Status changed from Open to Resolved
  • % Done changed from 0 to 100
  • Published in build set to r1139

Надоели уже эти предупреждения в логе сборки.
Исправлено.

Actions #3

Updated by Alexander Kamkin about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF