Fixed many issues after upgrade to a newer version of nanoboot-parent

This commit is contained in:
Robert Vokac 2023-06-17 17:43:08 +02:00
parent 6ca6f764b6
commit aeac303430
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
17 changed files with 92 additions and 37 deletions

32
pom.xml
View File

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
power-framework: Java library with many purposes of usage.
Copyright (C) 2016-2022 the original author or authors.
power-framework: Java library with many purposes of usage.
Copyright (C) 2016-2022 the original author or authors.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
version 2.1 of the License only.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
version 2.1 of the License only.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
@ -142,6 +142,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<forkCount>0</forkCount>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -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 {
}

View File

@ -126,7 +126,6 @@ public final class BinaryTreeNode<T> extends AbstractTreeNode<T> {
/**
* @param typeIn node type
* @param nodeIn node to set
* @return
*/
public void setNode(
final BinaryTreeNodeType typeIn,

View File

@ -24,8 +24,6 @@ package org.nanoboot.powerframework.collections.arrays;
* There will be the choice to select the starting index:0 will be default
* (maybe), but 1 or something else will be possible.
*
* @param <CLASS>
*
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
* @since 0.0.0
*/

View File

@ -26,8 +26,6 @@ import java.util.Iterator;
* There will be the choice to select the starting index:0 will be default
* (maybe), but 1 or something else will be possible.
*
* @param <CLASS>
*
* @author <a href="mailto:robertvokac@nanoboot.org">Robert Vokac</a>
* @since 0.0.0
*/

View File

@ -51,7 +51,6 @@ public class EntityStorage {
*
* Constructor description
*
* @param nameIn
*/
public EntityStorage() {
}

View File

@ -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 {
}

View File

@ -43,7 +43,7 @@ public final class ReflectionUtils {
/**
* @param classFullName class full 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) {
Class clazz = null;
@ -59,7 +59,7 @@ public final class ReflectionUtils {
* @param parameterTypes 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(
final Class clazz, final Class<?>... parameterTypes) {
@ -86,7 +86,7 @@ public final class ReflectionUtils {
* @param parameters parameters
*
* @return Object instance for the given constructor
* @throws PowerException, if instantiation failed
* @throws PowerException if instantiation failed
*/
public static Object newInstance(
final Constructor constructor,
@ -107,7 +107,7 @@ public final class ReflectionUtils {
* @param parameterTypes 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(
final Class forClass,

View File

@ -74,7 +74,7 @@ public interface HashCalculator {
/**
* @param hex1
* @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 &lt; hex2. if 1, then hex1 &gt; hex2.
*/
default int compareHexNumbers(String hex1, String hex2) {
int result = hex1.compareTo(hex2);

View File

@ -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 {
}

View File

@ -53,8 +53,6 @@ public class SqlStatementCreator {
/**
* Setter for name.
*
* @param nameIn
*/
public static String createSelect(String tableName, String conditions) {
String sql = SELECT_ALL_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
@ -65,7 +63,6 @@ public class SqlStatementCreator {
/**
* Setter for name.
*
* @param nameIn
*/
public static String createSelectUuids(String tableName, String conditions) {
String sql = SELECT_UUID_FROM + tableName + (conditions != null ? (" WHERE " + conditions) : "");
@ -76,7 +73,6 @@ public class SqlStatementCreator {
/**
* Setter for name.
*
* @param nameIn
*/
public static String createInsert(String tableName, String... valuesIn) {
String valuesAsString;
@ -100,7 +96,6 @@ public class SqlStatementCreator {
/**
* Setter for name.
*
* @param nameIn
*/
public static String createUpdate(String tableName, String conditions, ColumnNameValue... columnNameValues) {

View File

@ -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 {
}

View File

@ -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 {
}

View File

@ -57,7 +57,7 @@ public enum AsciiCharacter {
*/
PERCENT_SIGN(37, "percent sign", CharacterType.OTHER_PRINTABLE),
/**
* Constant for ascii character constant '&'.
* Constant for ascii character constant '&amp;'.
*/
AMPERSAND(38, "ampersand", CharacterType.OTHER_PRINTABLE),
/**
@ -175,7 +175,7 @@ public enum AsciiCharacter {
CharacterType.OTHER_PRINTABLE,
':'),
/**
* Constant for ascii character constant '<'.
* Constant for ascii character constant '&lt;'.
*/
LESS_THAN_SIGN(60, "less than sign",
CharacterType.OTHER_PRINTABLE,

View File

@ -43,7 +43,7 @@ public enum CharacterType {
UPPER_LETTER,
/**
* For example: !@#$%^&*()~?.
* For example: !@#$%^&amp;*()~?.
*/
OTHER_PRINTABLE,

View File

@ -113,8 +113,7 @@ public abstract class DateTime implements Comparable<DateTime> {
* <p>
* Sets all values from String
*
* @param dateTimeInString This String has following format: 2016-12-31
* 24:45:14:453 yyyy-MM-dd HH:mm:ss:SSS
* @param dateTimeAsLong
*/
public DateTime(long dateTimeAsLong) {
String str = String.valueOf(dateTimeAsLong);

View File

@ -50,8 +50,6 @@ public class Macro {
* Constructor
*
* Constructor description
*
* @param nameIn
*/
public Macro(String content, TextProcessorI processor) {
this.content = content;