Fixed many issues after upgrade to a newer version of nanoboot-parent
This commit is contained in:
parent
6ca6f764b6
commit
aeac303430
32
pom.xml
32
pom.xml
@ -1,22 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
power-framework: Java library with many purposes of usage.
|
power-framework: Java library with many purposes of usage.
|
||||||
Copyright (C) 2016-2022 the original author or authors.
|
Copyright (C) 2016-2022 the original author or authors.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Lesser General Public
|
modify it under the terms of the GNU Lesser General Public
|
||||||
License as published by the Free Software Foundation;
|
License as published by the Free Software Foundation;
|
||||||
version 2.1 of the License only.
|
version 2.1 of the License only.
|
||||||
|
|
||||||
This library is distributed in the hope that it will be useful,
|
This library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Lesser General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with this library; if not, write to the Free Software
|
License along with this library; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
-->
|
-->
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
@ -142,6 +142,10 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>${maven-surefire-plugin.version}</version>
|
<version>${maven-surefire-plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<forkCount>0</forkCount>
|
||||||
|
<useSystemClassLoader>false</useSystemClassLoader>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package org.nanoboot.powerframework.bean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author robertvokac
|
||||||
|
*/
|
||||||
|
public class Context {
|
||||||
|
|
||||||
|
}
|
@ -126,7 +126,6 @@ public final class BinaryTreeNode<T> extends AbstractTreeNode<T> {
|
|||||||
/**
|
/**
|
||||||
* @param typeIn node type
|
* @param typeIn node type
|
||||||
* @param nodeIn node to set
|
* @param nodeIn node to set
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public void setNode(
|
public void setNode(
|
||||||
final BinaryTreeNodeType typeIn,
|
final BinaryTreeNodeType typeIn,
|
||||||
|
@ -24,8 +24,6 @@ package org.nanoboot.powerframework.collections.arrays;
|
|||||||
* There will be the choice to select the starting index:0 will be default
|
* There will be the choice to select the starting index:0 will be default
|
||||||
* (maybe), but 1 or something else will be possible.
|
* (maybe), but 1 or something else will be possible.
|
||||||
*
|
*
|
||||||
* @param <CLASS>
|
|
||||||
*
|
|
||||||
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
|
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
|
||||||
* @since 0.0.0
|
* @since 0.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -26,8 +26,6 @@ import java.util.Iterator;
|
|||||||
* There will be the choice to select the starting index:0 will be default
|
* There will be the choice to select the starting index:0 will be default
|
||||||
* (maybe), but 1 or something else will be possible.
|
* (maybe), but 1 or something else will be possible.
|
||||||
*
|
*
|
||||||
* @param <CLASS>
|
|
||||||
*
|
|
||||||
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
|
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
|
||||||
* @since 0.0.0
|
* @since 0.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -51,7 +51,6 @@ public class EntityStorage {
|
|||||||
*
|
*
|
||||||
* Constructor description
|
* Constructor description
|
||||||
*
|
*
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public EntityStorage() {
|
public EntityStorage() {
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package org.nanoboot.powerframework.redmond;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author robertvokac
|
||||||
|
*/
|
||||||
|
public class Window {
|
||||||
|
|
||||||
|
}
|
@ -43,7 +43,7 @@ public final class ReflectionUtils {
|
|||||||
/**
|
/**
|
||||||
* @param classFullName class full name
|
* @param classFullName class full name
|
||||||
* @return Class instance with the given name
|
* @return Class instance with the given name
|
||||||
* @throws PowerException, if there is found no such class
|
* @throws PowerException if there is found no such class
|
||||||
*/
|
*/
|
||||||
public static Class getClassForName(final String classFullName) {
|
public static Class getClassForName(final String classFullName) {
|
||||||
Class clazz = null;
|
Class clazz = null;
|
||||||
@ -59,7 +59,7 @@ public final class ReflectionUtils {
|
|||||||
* @param parameterTypes parameter types
|
* @param parameterTypes parameter types
|
||||||
*
|
*
|
||||||
* @return Constructor instance with the given parameter types
|
* @return Constructor instance with the given parameter types
|
||||||
* @throws PowerException, if there is found no such class
|
* @throws PowerException if there is found no such class
|
||||||
*/
|
*/
|
||||||
public static Constructor getConstructor(
|
public static Constructor getConstructor(
|
||||||
final Class clazz, final Class<?>... parameterTypes) {
|
final Class clazz, final Class<?>... parameterTypes) {
|
||||||
@ -86,7 +86,7 @@ public final class ReflectionUtils {
|
|||||||
* @param parameters parameters
|
* @param parameters parameters
|
||||||
*
|
*
|
||||||
* @return Object instance for the given constructor
|
* @return Object instance for the given constructor
|
||||||
* @throws PowerException, if instantiation failed
|
* @throws PowerException if instantiation failed
|
||||||
*/
|
*/
|
||||||
public static Object newInstance(
|
public static Object newInstance(
|
||||||
final Constructor constructor,
|
final Constructor constructor,
|
||||||
@ -107,7 +107,7 @@ public final class ReflectionUtils {
|
|||||||
* @param parameterTypes parameter types
|
* @param parameterTypes parameter types
|
||||||
*
|
*
|
||||||
* @return Constructor instance with the given parameter types
|
* @return Constructor instance with the given parameter types
|
||||||
* @throws PowerException, if there is found no such method
|
* @throws PowerException if there is found no such method
|
||||||
*/
|
*/
|
||||||
public static Method getMethod(
|
public static Method getMethod(
|
||||||
final Class forClass,
|
final Class forClass,
|
||||||
|
@ -74,7 +74,7 @@ public interface HashCalculator {
|
|||||||
/**
|
/**
|
||||||
* @param hex1
|
* @param hex1
|
||||||
* @param hex2
|
* @param hex2
|
||||||
* @return if 0, then hex1=hex2. if -1, then hex1<hex2. if 1, then hex1>hex2.
|
* @return if 0, then hex1=hex2. if -1, then hex1 < hex2. if 1, then hex1 > hex2.
|
||||||
*/
|
*/
|
||||||
default int compareHexNumbers(String hex1, String hex2) {
|
default int compareHexNumbers(String hex1, String hex2) {
|
||||||
int result = hex1.compareTo(hex2);
|
int result = hex1.compareTo(hex2);
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package org.nanoboot.powerframework.sound;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author robertvokac
|
||||||
|
*/
|
||||||
|
public class Sound {
|
||||||
|
|
||||||
|
}
|
@ -53,8 +53,6 @@ public class SqlStatementCreator {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Setter for name.
|
* Setter for name.
|
||||||
*
|
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public static String createSelect(String tableName, String conditions) {
|
public static String createSelect(String tableName, String conditions) {
|
||||||
String sql = SELECT_ALL_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
|
String sql = SELECT_ALL_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
|
||||||
@ -65,7 +63,6 @@ public class SqlStatementCreator {
|
|||||||
/**
|
/**
|
||||||
* Setter for name.
|
* Setter for name.
|
||||||
*
|
*
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public static String createSelectUuids(String tableName, String conditions) {
|
public static String createSelectUuids(String tableName, String conditions) {
|
||||||
String sql = SELECT_UUID_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
|
String sql = SELECT_UUID_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
|
||||||
@ -76,7 +73,6 @@ public class SqlStatementCreator {
|
|||||||
/**
|
/**
|
||||||
* Setter for name.
|
* Setter for name.
|
||||||
*
|
*
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public static String createInsert(String tableName, String... valuesIn) {
|
public static String createInsert(String tableName, String... valuesIn) {
|
||||||
String valuesAsString;
|
String valuesAsString;
|
||||||
@ -100,7 +96,6 @@ public class SqlStatementCreator {
|
|||||||
/**
|
/**
|
||||||
* Setter for name.
|
* Setter for name.
|
||||||
*
|
*
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public static String createUpdate(String tableName, String conditions, ColumnNameValue... columnNameValues) {
|
public static String createUpdate(String tableName, String conditions, ColumnNameValue... columnNameValues) {
|
||||||
|
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package org.nanoboot.powerframework.stat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author robertvokac
|
||||||
|
*/
|
||||||
|
public class Stat {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||||
|
*/
|
||||||
|
package org.nanoboot.powerframework.svg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author robertvokac
|
||||||
|
*/
|
||||||
|
public class Svg {
|
||||||
|
|
||||||
|
}
|
@ -57,7 +57,7 @@ public enum AsciiCharacter {
|
|||||||
*/
|
*/
|
||||||
PERCENT_SIGN(37, "percent sign", CharacterType.OTHER_PRINTABLE),
|
PERCENT_SIGN(37, "percent sign", CharacterType.OTHER_PRINTABLE),
|
||||||
/**
|
/**
|
||||||
* Constant for ascii character constant '&'.
|
* Constant for ascii character constant '&'.
|
||||||
*/
|
*/
|
||||||
AMPERSAND(38, "ampersand", CharacterType.OTHER_PRINTABLE),
|
AMPERSAND(38, "ampersand", CharacterType.OTHER_PRINTABLE),
|
||||||
/**
|
/**
|
||||||
@ -175,7 +175,7 @@ public enum AsciiCharacter {
|
|||||||
CharacterType.OTHER_PRINTABLE,
|
CharacterType.OTHER_PRINTABLE,
|
||||||
':'),
|
':'),
|
||||||
/**
|
/**
|
||||||
* Constant for ascii character constant '<'.
|
* Constant for ascii character constant '<'.
|
||||||
*/
|
*/
|
||||||
LESS_THAN_SIGN(60, "less than sign",
|
LESS_THAN_SIGN(60, "less than sign",
|
||||||
CharacterType.OTHER_PRINTABLE,
|
CharacterType.OTHER_PRINTABLE,
|
||||||
|
@ -43,7 +43,7 @@ public enum CharacterType {
|
|||||||
UPPER_LETTER,
|
UPPER_LETTER,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For example: !@#$%^&*()~?.
|
* For example: !@#$%^&*()~?.
|
||||||
*/
|
*/
|
||||||
OTHER_PRINTABLE,
|
OTHER_PRINTABLE,
|
||||||
|
|
||||||
|
@ -113,8 +113,7 @@ public abstract class DateTime implements Comparable<DateTime> {
|
|||||||
* <p>
|
* <p>
|
||||||
* Sets all values from String
|
* Sets all values from String
|
||||||
*
|
*
|
||||||
* @param dateTimeInString This String has following format: 2016-12-31
|
* @param dateTimeAsLong
|
||||||
* 24:45:14:453 yyyy-MM-dd HH:mm:ss:SSS
|
|
||||||
*/
|
*/
|
||||||
public DateTime(long dateTimeAsLong) {
|
public DateTime(long dateTimeAsLong) {
|
||||||
String str = String.valueOf(dateTimeAsLong);
|
String str = String.valueOf(dateTimeAsLong);
|
||||||
|
@ -50,8 +50,6 @@ public class Macro {
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* Constructor description
|
* Constructor description
|
||||||
*
|
|
||||||
* @param nameIn
|
|
||||||
*/
|
*/
|
||||||
public Macro(String content, TextProcessorI processor) {
|
public Macro(String content, TextProcessorI processor) {
|
||||||
this.content = content;
|
this.content = content;
|
||||||
|
Reference in New Issue
Block a user