Project

General

Profile

Bug #5018

[build] Compilation warnings: unchecked call

Added by Alexander Kamkin about 5 years ago. Updated over 4 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

History

#1

Updated by Sergey Smolov over 4 years ago

  • Status changed from New to Open
#2

Updated by Sergey Smolov over 4 years ago

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

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

#3

Updated by Alexander Kamkin over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF