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;
|
||||
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
import org.apache.commons.math.geometry.Vector3D;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?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"
|
||||
class="ASSASSIN" xsi:schemaLocation="http://schemas.l2jserver2.com/character ../character.xsd"
|
||||
xmlns:template="http://schemas.l2jserver2.com/character">
|
||||
<stats crafter="false" level="20">
|
||||
<hp add="33.0" modifier="0.37" base="379.0" />
|
||||
<mp add="9.9" modifier="0.14" base="144.0" />
|
||||
|
||||
@@ -37,7 +37,6 @@ public class KnownListFilter extends AndFilter<PositionableObject> {
|
||||
* @param object
|
||||
* the object to locate known objects
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public KnownListFilter(PositionableObject object) {
|
||||
super(new InstanceFilter<PositionableObject>(PositionableObject.class),
|
||||
new RangeFilter(object, KNOWNLIST_RANGE),
|
||||
|
||||
@@ -4,7 +4,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.xml.bind.JAXBContext;
|
||||
import javax.xml.bind.JAXBException;
|
||||
import javax.xml.bind.SchemaOutputResolver;
|
||||
import javax.xml.transform.Result;
|
||||
import javax.xml.transform.stream.StreamResult;
|
||||
@@ -18,10 +17,11 @@ import com.l2jserver.service.game.template.XMLTemplateService.TeleportationTempl
|
||||
public class TemplateSchemaGeneratorMain {
|
||||
/**
|
||||
* @param args
|
||||
* @throws JAXBException
|
||||
* @throws IOException
|
||||
* none
|
||||
* @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");
|
||||
|
||||
JAXBContext context = JAXBContext.newInstance(CharacterTemplate.class,
|
||||
|
||||
Reference in New Issue
Block a user