Jump to content
  • 0

ERROR STREAM COLLECTORS ACIS JAVA 7


Question

Posted

Good afternoon, I'm working on a personal project and I'm having problems adding fakeplayers to my pack, it's there, use java 7, can anyone help me find this directory?2mn3a11.png

 

 

 

Reference:

 

List<OffensiveSpell> spellsOrdered = getOffensiveSpells().stream().sorted((o1, o2) -> Integer.compare(o1.getPriority(), o2.getPriority())).collect(Collectors.toList());

4 answers to this question

Recommended Posts

  • 0
Posted
On 01/12/2018 at 19:24, Kara` said:

Não vale a pena mudar o código. Simplesmente atualize do Java7 para o java8. Ele também o ajudará no código futuro. 

 

 

On 01/12/2018 at 17:28, SweeTs said:

O Java 7 não possui recurso de fluxo. Código de retrabalho ou pacote de alterações para usar o Java 8.

 

 

 


Is there any teaching tutorial to switch to Java 8? I can not do this yet.

  • 0
Posted

Right click on project - properties - Java Build Path - libraries tab, remove the java 7 libs and "Add library" java 8. Then, Java Compiler change to java 8. Should be enough.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...