Project

General

Profile

Actions

Bug #5715

closed

EfsmTestGenerator.java:138: error: method put in interface Map<K,V> cannot be applied to given types -> traversedPaths.put(efsm, new HashSet<>());

Added by Sergey Smolov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Engine (Generator)
Target version:
Start date:
03/17/2015
Due date:
% Done:

100%

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

Description

compile.java:
[mkdir] Created dir: /home/ssedai/Downloads/retrascope/bin/classes
[javac] Compiling 176 source files to /home/ssedai/Downloads/retrascope/bin/classes
[javac] /home/ssedai/Downloads/retrascope/src/main/java/ru/ispras/retrascope/engine/efsm/generator/test/EfsmTestGenerator.java:138: error: method put in interface Map<K,V> cannot be applied to given types;
[javac] traversedPaths.put(efsm, new HashSet<>());
[javac] ^
[javac] required: Efsm,Set<List<EfsmTransition>>
[javac] found: Efsm,HashSet<Object>
[javac] reason: actual argument HashSet<Object> cannot be converted to Set<List<EfsmTransition>> by method invocation conversion
[javac] where K,V are type-variables:
[javac] K extends Object declared in interface Map
[javac] V extends Object declared in interface Map
[javac] 1 error

Actions

Also available in: Atom PDF