i think you have to take a look on this
http://stackoverflow.com/questions/3382 ... gs-in-java
JDK 7 - string cases on switch statements
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- brutus
- Posts: 325
- Joined: Sat Nov 10, 2007 4:18 pm
- Location: Bulgaria
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: JDK 7 - string cases on switch statements
We are already using switch for Strings... 

Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- brutus
- Posts: 325
- Joined: Sat Nov 10, 2007 4:18 pm
- Location: Bulgaria
Re: JDK 7 - string cases on switch statements
any example
thats so new for me i just saw it and i though my project is buged and doesnt give error 


- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: JDK 7 - string cases on switch statements
I think Changeset 5011 was the first time that this feature was used in core, in datapack is used in many Java scripts.brutus wrote:any examplethats so new for me i just saw it and i though my project is buged and doesnt give error
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 
