Skip to content

Commit 7bebded

Browse files
make it 1.3.8
1 parent 6743767 commit 7bebded

File tree

23 files changed

+65
-65
lines changed

23 files changed

+65
-65
lines changed

SerialX-core/src/main/java/org/ugp/serialx/GenericScope.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public ValT put(KeyT variableKey, ValT variableValue)
209209
*
210210
* @return Array of values previously at keys from kv array.
211211
*
212-
* @since 1.3.7
212+
* @since 1.3.8
213213
*/
214214
@SuppressWarnings("unchecked")
215215
public ValT[] putAllKv(Object... kVkVkV)
@@ -303,7 +303,7 @@ public <V extends ValT> V get(KeyT variableKey, V defaultValue)
303303
* If there is no other variable called "value" in the scope tree then you can also simplify it to <code>scope.get("value")</code>, but make sure that there is no equally-named variable!<br>
304304
* Note: Make sure that you are not calling {@link GenericScope#get(Object, Object)} by accident when you are using inline vargas array (unspecified count of arguments)!
305305
*
306-
* @since 1.3.7
306+
* @since 1.3.8
307307
*/
308308
@SuppressWarnings("unchecked")
309309
public <V extends ValT> V get(KeyT... pathToValue)
@@ -341,7 +341,7 @@ public <V extends ValT> V get(KeyT... pathToValue)
341341
*
342342
* @throws Exception | If converting to object of cls failed from some reason! This can differ from implementation to implementation! By default it uses {@link GenericScope#toObject(cls)}
343343
*
344-
* @since 1.3.7
344+
* @since 1.3.8
345345
*/
346346
public <V extends ValT> V get(KeyT variableKey, Class<? extends V> cls, V defaultValue) throws Exception
347347
{
@@ -370,7 +370,7 @@ public boolean containsVariable(KeyT variableKey)
370370
*
371371
* @return True if independent value was found in this scope.
372372
*
373-
* @since 1.3.7
373+
* @since 1.3.8
374374
*/
375375
@Override
376376
public boolean contains(Object value)
@@ -415,7 +415,7 @@ public <V extends ValT> V get(int valueIndex)
415415
*
416416
* @throws Exception | If converting to object of cls failed from some reason! This can differ from implementation to implementation!
417417
*
418-
* @since 1.3.7
418+
* @since 1.3.8
419419
*/
420420
public <V extends ValT> V get(int valueIndex, Class<V> cls) throws Exception
421421
{
@@ -475,7 +475,7 @@ public boolean addAll(@SuppressWarnings("unchecked") ValT... values)
475475
*
476476
* @return True all provided values are contained in this scope as independent values!
477477
*
478-
* @since 1.3.7
478+
* @since 1.3.8
479479
*/
480480
@Override
481481
public boolean containsAll(Collection<?> values)
@@ -488,7 +488,7 @@ public boolean containsAll(Collection<?> values)
488488
*
489489
* @return {@link Collection#removeAll(Collection)} for the independent values,,,
490490
*
491-
* @since 1.3.7
491+
* @since 1.3.8
492492
*/
493493
@Override
494494
public boolean removeAll(Collection<?> values)
@@ -501,7 +501,7 @@ public boolean removeAll(Collection<?> values)
501501
*
502502
* @return {@link Collection#retainAll(Collection)} for the independent values,,,
503503
*
504-
* @since 1.3.7
504+
* @since 1.3.8
505505
*/
506506
@Override
507507
public boolean retainAll(Collection<?> values)
@@ -774,7 +774,7 @@ public ValT remove(int valueIndex)
774774
*
775775
* @return Value of variable that was removed!
776776
*
777-
* @since 1.3.7
777+
* @since 1.3.8
778778
*/
779779
@Override
780780
public boolean remove(Object independentValue)
@@ -787,7 +787,7 @@ public boolean remove(Object independentValue)
787787
*
788788
* @return Value of variable that was removed!
789789
*
790-
* @since 1.3.7
790+
* @since 1.3.8
791791
*/
792792
public ValT removeVariable(KeyT variableKey)
793793
{
@@ -869,7 +869,7 @@ public int variablesCount()
869869
/**
870870
* @return Total number of variables and independent values of this scope! (<code>vvaluesCount() + variablesCount()</code>)
871871
*
872-
* @since 1.3.7 (before 1.3.7 known as totalSize)
872+
* @since 1.3.8 (before 1.3.8 known as totalSize)
873873
*/
874874
@Override
875875
public int size()
@@ -948,7 +948,7 @@ public List<? extends ValT> toValList()
948948
* @return Primitive array with independent values of this {@link GenericScope}. These values have nothing to do with values of variables, they are independent!
949949
* Modifying this list will not affect this {@link GenericScope} object!
950950
*
951-
* @since 1.3.7 (before 1.3.7 known as toValArray)
951+
* @since 1.3.8 (before 1.3.8 known as toValArray)
952952
*/
953953
@Override
954954
public Object[] toArray()
@@ -962,7 +962,7 @@ public Object[] toArray()
962962
* @return Primitive array with independent values of this {@link GenericScope}. These values have nothing to do with values of variables, they are independent!
963963
* Modifying this list will not affect this {@link GenericScope} object!
964964
*
965-
* @since 1.3.7 (before 1.3.7 known as toValArray)
965+
* @since 1.3.8 (before 1.3.8 known as toValArray)
966966
*/
967967
@Override
968968
public <T> T[] toArray(T[] vals)
@@ -1088,7 +1088,7 @@ public static <K, V, S extends GenericScope<K, V>> S intoBidirectional(S scopeTo
10881088
*
10891089
* @return Same map populated with kV array.
10901090
*
1091-
* @since 1.3.7
1091+
* @since 1.3.8
10921092
*/
10931093
@SuppressWarnings("unchecked")
10941094
public static <K, V, M extends Map<K, V>> M mapKvArray(M map, Object... kVkVkV)

SerialX-core/src/main/java/org/ugp/serialx/Scope.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ public static <T> T into(T obj, GenericScope<? super String, ?> fromScope, List<
12911291
*
12921292
* @throws Exception if Scope#intoNew(Type, GenericScope, String...) fails...
12931293
*
1294-
* @since 1.3.7
1294+
* @since 1.3.8
12951295
*/
12961296
@SuppressWarnings("unchecked")
12971297
public static <T> List<T> intoGeneric(List<?> listToGenerify, ParameterizedType genericType) throws Exception
@@ -1331,7 +1331,7 @@ public static <T> List<T> intoGeneric(List<?> listToGenerify, ParameterizedType
13311331
*
13321332
* @throws Exception if Scope#intoNew(Type, GenericScope, String...) fails...
13331333
*
1334-
* @since 1.3.7
1334+
* @since 1.3.8
13351335
*/
13361336
@SuppressWarnings("unchecked")
13371337
public static <T> Map<?, T> intoGeneric(Map<?, ?> mapToGenerify, ParameterizedType genericType) throws Exception
@@ -1400,7 +1400,7 @@ public static List<PropertyDescriptor> getPropertyDescriptorsOf(Class<?> cls, Ma
14001400
*
14011401
* @see PropertyDescriptor
14021402
*
1403-
* @since 1.3.7
1403+
* @since 1.3.8
14041404
*/
14051405
public static List<PropertyDescriptor> getPropertyDescriptorsOf(Class<?> cls, Map<Class<?>, List<PropertyDescriptor>> cache, int modifiersToIgnore, String... fieldNames) throws IntrospectionException
14061406
{

SerialX-core/src/main/java/org/ugp/serialx/Serializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ public <A extends Appendable> A SerializeAsSubscope(A source, char[] wrappingBra
605605
*
606606
* @return Object that was parsed from string at given index, using parsers of this {@link Serializer}!
607607
*
608-
* @since 1.3.7
608+
* @since 1.3.8
609609
*/
610610
@SuppressWarnings("unchecked")
611611
public <T> T getParsed(int indexWithStringValue, Object... args)
@@ -619,7 +619,7 @@ public <T> T getParsed(int indexWithStringValue, Object... args)
619619
*
620620
* @return Object that was parsed from value of given variable, using parsers of this {@link Serializer}!
621621
*
622-
* @since 1.3.7
622+
* @since 1.3.8
623623
*/
624624
@SuppressWarnings("unchecked")
625625
public <T> T getParsed(String variableWithStringValue, Object... args)

SerialX-core/src/main/java/org/ugp/serialx/Utils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* @author PETO
3232
*
33-
* @since 1.3.7
33+
* @since 1.3.8
3434
*/
3535
public final class Utils {
3636
private Utils() {}
@@ -522,7 +522,7 @@ public static String[] splitValues(String s, int limit, int splittingStrategy, c
522522
*
523523
* @return String splitted after splitters according to arguments. Each resulting token will be {@link String#trim() trim}<code>med</code>!
524524
*
525-
* @since 1.3.7
525+
* @since 1.3.8
526526
*/
527527
public static String[] splitValues(String s, int i, int limit, int splittingStrategy, char[] splitBreaks, char... splitter)
528528
{
@@ -784,7 +784,7 @@ public static boolean contains(CharSequence str, char... oneOf)
784784
* Note that this function was designed for non-blank ASCII strings and may not work properly for others...<br>
785785
* Also sufficient length of both strings is not checked so adjust from and to accordingly.
786786
*
787-
* @since 1.3.7
787+
* @since 1.3.8
788788
*/
789789
public static boolean equalsLowerCase(CharSequence str, CharSequence lowerCaseOther, int from, int to)
790790
{
@@ -852,7 +852,7 @@ public static Object[] mergeArrays(Object arr1, Object arr2)
852852
*
853853
* @throws IllegalArgumentException if the specified object is not an array!
854854
*
855-
* @since 1.3.2 (since 1.3.7 moved from ArrayConverter)
855+
* @since 1.3.2 (since 1.3.8 moved from ArrayConverter)
856856
*/
857857
public static Object[] fromAmbiguousArray(Object array)
858858
{
@@ -912,7 +912,7 @@ public static void post(Serializer serializer, HttpURLConnection conn) throws IO
912912
*
913913
* @since 1.2.2
914914
*
915-
* @deprecated (in 1.3.7) NO LONGER NEEDED, DO NOT USE THIS! You were never supposed to...
915+
* @deprecated (in 1.3.8) NO LONGER NEEDED, DO NOT USE THIS! You were never supposed to...
916916
*/
917917
public static final class NULL //TODO: REMOVE IN NEXT V!!!!
918918
{

SerialX-core/src/main/java/org/ugp/serialx/converters/DataParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public CharSequence toString(Object obj, Object... args)
199199
*
200200
* @see DataParser#parseObj(String, Object...)
201201
*
202-
* @since 1.3.7
202+
* @since 1.3.8
203203
*/
204204
@Override
205205
public Object parse(ParserRegistry parentRegistry, String str, Object... args)

SerialX-core/src/main/java/org/ugp/serialx/converters/NumberConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public CharSequence getDescription(ParserRegistry myHomeRegistry, Object obj, Ob
155155
*
156156
* @return Number formated to string!
157157
*
158-
* @since 1.3.7
158+
* @since 1.3.8
159159
*/
160160
public String format(Number num)
161161
{
@@ -174,7 +174,7 @@ public String format(Number num)
174174
* @return {@link Number} parsed from str with rules specified above. This function was designed to act as more optimized merger of {@link Byte#valueOf(String, int)}, {@link Short#valueOf(String, int)}, {@link Integer#valueOf(String, int)}, {@link Long#valueOf(String, int)} and {@link Float#valueOf(String)}, {@link Double#valueOf(String)} all encapsulated in 1 universal function.<br>
175175
* Note: This function will not check for incorrect number formats in order to save performance. Only incorrect format is when inserted string contains space, in this case it will return null!
176176
*
177-
* @since 1.3.7
177+
* @since 1.3.8
178178
*/
179179
public static Number numberOf(CharSequence str, char ch0, int end, int base, int type)
180180
{

SerialX-core/src/main/java/org/ugp/serialx/converters/ProtocolConverter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
*
5555
* @author PETO
5656
*
57-
* @since 1.3.0 (separated from ObjectConverter since 1.3.7)
57+
* @since 1.3.0 (separated from ObjectConverter since 1.3.8)
5858
*/
5959
public class ProtocolConverter implements DataConverter
6060
{
@@ -96,7 +96,7 @@ public Object parse(ParserRegistry myHomeRegistry, String str, Object... compile
9696
*
9797
* @return Object od objClass parsed from str in accordance with compilerArgs!
9898
*
99-
* @since 1.3.7
99+
* @since 1.3.8
100100
*/
101101
protected Object parse(ParserRegistry myHomeRegistry, Class<?> objClass, String str, Object... compilerArgs)
102102
{
@@ -284,7 +284,7 @@ public void setUseBase64IfCan(boolean useBase64IfCan)
284284
/**
285285
* @return True if invocation of static members (:: operator) is allowed (false by default)!
286286
*
287-
* @since 1.3.7
287+
* @since 1.3.8
288288
*/
289289
public boolean isAllowStaticMemberInvocation()
290290
{
@@ -294,7 +294,7 @@ public boolean isAllowStaticMemberInvocation()
294294
/**
295295
* @param allowStaticMemberInvocation | Enable/disable the invocation of static members (:: operator) (false by default)!
296296
*
297-
* @since 1.3.7
297+
* @since 1.3.8
298298
*/
299299
public void setAllowStaticMemberInvocation(boolean allowStaticMemberInvocation)
300300
{
@@ -407,7 +407,7 @@ public static char[] secondarySubscopeWrappers()
407407
* @return {@link Utils#InvokeStaticFunc(Class, String, Object...)} or null if {@link InvocationTargetException} occurred. <br>
408408
* Note: If you are not sure what this does, preferably use {@link Utils#InvokeStaticFunc(Class, String, Object...)}!
409409
*
410-
* @since 1.3.7
410+
* @since 1.3.8
411411
*/
412412
public static Object InvokeStaticFunc(Class<?> cls, Class<?> oldCls, String name, Object[] args, Object... compilerArgs) {
413413
try

SerialX-core/src/main/java/org/ugp/serialx/converters/StringConverter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public CharSequence getDescription(ParserRegistry myHomeRegistry, Object obj, Ob
108108
* Recommended: Enable this when parsing a lot of strings that are the same, otherwise this will not have a big impact.<br>
109109
* Rule of thumb, is that this cache should be modified only by this converter however adding some pre-cached entries is possible but should be performed with caution!
110110
*
111-
* @since 1.3.7
111+
* @since 1.3.8
112112
*/
113113
public void setParsingCache(Map<String, String> cache)
114114
{
@@ -120,7 +120,7 @@ public void setParsingCache(Map<String, String> cache)
120120
* Null will be returned if caching is disabled, which is by default...<br>
121121
* Note: Rule of thumb, is that this cache should be modified only by this converter however adding some pre-cached entries is possible but should be performed with caution!
122122
*
123-
* @since 1.3.7
123+
* @since 1.3.8
124124
*/
125125
public Map<String, String> getParsingCache()
126126
{
@@ -130,7 +130,7 @@ public Map<String, String> getParsingCache()
130130
/**
131131
* @return Will return value of {@link StringConverter#serializeStringNormally}!
132132
*
133-
* @since 1.3.7 (it was static before = not good)
133+
* @since 1.3.8 (it was static before = not good)
134134
*/
135135
public boolean isSerializeStringNormally()
136136
{
@@ -140,7 +140,7 @@ public boolean isSerializeStringNormally()
140140
/**
141141
* @param serializeStringNormally | Set value of {@link StringConverter#serializeStringNormally}!
142142
*
143-
* @since 1.3.7 (it was static before = not good)
143+
* @since 1.3.8 (it was static before = not good)
144144
*/
145145
public void setSerializeStringNormally(boolean serializeStringNormally)
146146
{

SerialX-core/src/main/java/org/ugp/serialx/converters/VariableParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author PETO
2020
*
21-
* @since 1.3.7
21+
* @since 1.3.8
2222
*/
2323
public class VariableParser implements DataParser
2424
{
@@ -40,7 +40,7 @@ public Object parse(ParserRegistry myHomeRegistry, String str, Object... args)
4040
* @return The value of member from given source. You can think about this as ekvivalent to <code>source.member</code> in Java. If member with provided name/key is not present in the source or its value is not possible to get, {@link VOID} has to be returned! If source can't be accessed/dereferenced, <code>null</code> has to be returned!<br>
4141
* Note: This method is meant to be overridden in order to add support for accessing multiple sources because by default it supports only {@link GenericScope}
4242
*
43-
* @since 1.3.7
43+
* @since 1.3.8
4444
*/
4545
@SuppressWarnings("unchecked")
4646
public Object getMemberOperator(Object source, Object member)
@@ -58,7 +58,7 @@ public Object getMemberOperator(Object source, Object member)
5858
*
5959
* @return Value of variable read from scope is str was suitable. Special return types are {@link DataParser#VOID} and {@link DataParser#CONTINUE}. Continue will ignore this parser and jump to another one in registry.
6060
*
61-
* @since 1.3.7
61+
* @since 1.3.8
6262
*/
6363
protected Object parse(ParserRegistry myHomeRegistry, String str, GenericScope<?, Object> scope, Object... args)
6464
{

SerialX-core/src/main/java/org/ugp/serialx/converters/imports/ImportsProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public interface ImportsProvider
2222
* Cache of Classes to their respective names/aliases.<br>
2323
* Note: Treat as read only if possible!
2424
*
25-
* @since 1.3.7
25+
* @since 1.3.8
2626
*/
2727
public static final Map<String, Class<?>> CLASS_CACHE = new HashMap<String, Class<?>>();
2828

SerialX-devtools/src/main/java/org/ugp/serialx/devtools/DebugParserRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public DebugParserRegistry clone()
3838
*
3939
* @return Clone of this {@link DebugParserRegistry}
4040
*
41-
* @since 1.3.7
41+
* @since 1.3.8
4242
*/
4343
public DebugParserRegistry clone(boolean copyStackTrace)
4444
{

SerialX-devtools/src/main/java/org/ugp/serialx/devtools/SerializationDebugger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class SerializationDebugger implements DataConverter
3232
* Output object that will be used for logging...
3333
* If null, it will be set automatically!
3434
*
35-
* @since 1.3.7
35+
* @since 1.3.8
3636
*/
3737
public static PrintWriter out;
3838

@@ -145,7 +145,7 @@ else if (args[99] instanceof Integer && (int) args[99] > 0)
145145
/**
146146
* Helper method for printing contents of {@link ParserRegistry#getParsingCache()}.
147147
*
148-
* @since 1.3.7
148+
* @since 1.3.8
149149
*/
150150
public static void printCacheInfo(PrintWriter out, DataParser[] cache, String cacheType, String additional)
151151
{

SerialX-json/src/main/java/org/ugp/serialx/json/JsonSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public static JsonSerializer fromJussSerializer(JussSerializer jussSerializer)
257257
*
258258
* @return JussSerializer created from JsonSerializer, all values and variables will remain intact!
259259
*
260-
* @since 1.3.2 (since 1.3.7 moved from {@link JussSerializer} and renamed from "fromJsonSerializer" to "toJussSerializer")
260+
* @since 1.3.2 (since 1.3.8 moved from {@link JussSerializer} and renamed from "fromJsonSerializer" to "toJussSerializer")
261261
*/
262262
public static JussSerializer toJussSerializer(JsonSerializer jsonSerializer)
263263
{

0 commit comments

Comments
 (0)