Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thufir@dur:~/NetBeansProjects/threadedExecTelnet$
- thufir@dur:~/NetBeansProjects/threadedExecTelnet$ gradle build
- > Task :compileJava FAILED
- /home/thufir/NetBeansProjects/threadedExecTelnet/src/main/java/net/bounceme/dur/mud/CommandMaker.java:22: error: cannot find symbol
- Set<String> stringSet = objectSet.stream().map(o -> convertToString(o)).collect(Collectors.toSet());
- ^
- symbol: method convertToString(Object)
- location: class CommandMaker
- /home/thufir/NetBeansProjects/threadedExecTelnet/src/main/java/net/bounceme/dur/mud/CommandMaker.java:22: error: incompatible types: inference variable T has incompatible bounds
- Set<String> stringSet = objectSet.stream().map(o -> convertToString(o)).collect(Collectors.toSet());
- ^
- equality constraints: String
- lower bounds: Object
- where T is a type-variable:
- T extends Object declared in method <T>toSet()
- 2 errors
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':compileJava'.
- > Compilation failed; see the compiler error output for details.
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- * Get more help at https://help.gradle.org
- BUILD FAILED in 919ms
- 1 actionable task: 1 executed
- thufir@dur:~/NetBeansProjects/threadedExecTelnet$
Advertisement
Add Comment
Please, Sign In to add comment