mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Fix small compiler warnings
This commit fix small compiler warnings in a few Java classes
This commit is contained in:
@@ -16,8 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
package com.l2jserver.util.geometry;
|
package com.l2jserver.util.geometry;
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlType;
|
|
||||||
|
|
||||||
import org.apache.commons.math.geometry.Vector3D;
|
import org.apache.commons.math.geometry.Vector3D;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,23 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<template:character xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" class="ASSASSIN" xsi:schemaLocation="http://schemas.l2jserver2.com/character ../character.xsd" xmlns:template="http://schemas.l2jserver2.com/character">
|
<template:character xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<stats crafter="false" level="20">
|
class="ASSASSIN" xsi:schemaLocation="http://schemas.l2jserver2.com/character ../character.xsd"
|
||||||
<hp add="33.0" modifier="0.37" base="379.0"/>
|
xmlns:template="http://schemas.l2jserver2.com/character">
|
||||||
<mp add="9.9" modifier="0.14" base="144.0"/>
|
<stats crafter="false" level="20">
|
||||||
<cp add="15.8" modifier="0.22" base="185.1"/>
|
<hp add="33.0" modifier="0.37" base="379.0" />
|
||||||
<attack accuracy="35" critical="45" evasion="35">
|
<mp add="9.9" modifier="0.14" base="144.0" />
|
||||||
<physical speed="300.0" damage="4.0"/>
|
<cp add="15.8" modifier="0.22" base="185.1" />
|
||||||
<magical speed="333.0" damage="6.0"/>
|
<attack accuracy="35" critical="45" evasion="35">
|
||||||
</attack>
|
<physical speed="300.0" damage="4.0" />
|
||||||
<defense>
|
<magical speed="333.0" damage="6.0" />
|
||||||
<physical value="80.0"/>
|
</attack>
|
||||||
<magical value="41.0"/>
|
<defense>
|
||||||
</defense>
|
<physical value="80.0" />
|
||||||
<move walk="122.0" run="122.0"/>
|
<magical value="41.0" />
|
||||||
<base wit="12" dex="34" men="26" con="32" str="41" int="25"/>
|
</defense>
|
||||||
<maxload>69000</maxload>
|
<move walk="122.0" run="122.0" />
|
||||||
</stats>
|
<base wit="12" dex="34" men="26" con="32" str="41" int="25" />
|
||||||
<collision>
|
<maxload>69000</maxload>
|
||||||
<male heigth="24.0" radius="7.5"/>
|
</stats>
|
||||||
<female heigth="23.5" radius="7.0"/>
|
<collision>
|
||||||
</collision>
|
<male heigth="24.0" radius="7.5" />
|
||||||
|
<female heigth="23.5" radius="7.0" />
|
||||||
|
</collision>
|
||||||
</template:character>
|
</template:character>
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ public class KnownListFilter extends AndFilter<PositionableObject> {
|
|||||||
* @param object
|
* @param object
|
||||||
* the object to locate known objects
|
* the object to locate known objects
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public KnownListFilter(PositionableObject object) {
|
public KnownListFilter(PositionableObject object) {
|
||||||
super(new InstanceFilter<PositionableObject>(PositionableObject.class),
|
super(new InstanceFilter<PositionableObject>(PositionableObject.class),
|
||||||
new RangeFilter(object, KNOWNLIST_RANGE),
|
new RangeFilter(object, KNOWNLIST_RANGE),
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import java.io.File;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import javax.xml.bind.JAXBContext;
|
import javax.xml.bind.JAXBContext;
|
||||||
import javax.xml.bind.JAXBException;
|
|
||||||
import javax.xml.bind.SchemaOutputResolver;
|
import javax.xml.bind.SchemaOutputResolver;
|
||||||
import javax.xml.transform.Result;
|
import javax.xml.transform.Result;
|
||||||
import javax.xml.transform.stream.StreamResult;
|
import javax.xml.transform.stream.StreamResult;
|
||||||
@@ -18,10 +17,11 @@ import com.l2jserver.service.game.template.XMLTemplateService.TeleportationTempl
|
|||||||
public class TemplateSchemaGeneratorMain {
|
public class TemplateSchemaGeneratorMain {
|
||||||
/**
|
/**
|
||||||
* @param args
|
* @param args
|
||||||
* @throws JAXBException
|
* none
|
||||||
* @throws IOException
|
* @throws Exception
|
||||||
|
* any exception
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) throws JAXBException, IOException {
|
public static void main(String[] args) throws Exception {
|
||||||
final File baseDir = new File("generated/schemas");
|
final File baseDir = new File("generated/schemas");
|
||||||
|
|
||||||
JAXBContext context = JAXBContext.newInstance(CharacterTemplate.class,
|
JAXBContext context = JAXBContext.newInstance(CharacterTemplate.class,
|
||||||
|
|||||||
Reference in New Issue
Block a user