Skip to content

Commit 0de6932

Browse files
committed
Make Utils class public
1 parent 6a54c42 commit 0de6932

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DM-A-SQLConnector lets you access your app's database through JDBC. Android ship
1515
...
1616
dependencies {
1717
...
18-
api(group:'fr.distrimind.oss.asqlconnector', name: 'DM-A-SQLConnector', version: '1.0.2-STABLE')
18+
api(group:'fr.distrimind.oss.asqlconnector', name: 'DM-A-SQLConnector', version: '1.0.3-STABLE')
1919
//optional : under Android
2020
implementation(group:'fr.distrimind.oss.flexilogxml.android', name: 'DM-FlexiLogXML-Android', version: '2.2.0-STABLE')
2121
...
@@ -48,7 +48,7 @@ To know what is the last uploaded version, please refer to versions available he
4848
<dependency>
4949
<groupId>fr.distrimind.oss.asqlconnector</groupId>
5050
<artifactId>DM-A-SQLConnector</artifactId>
51-
<version>1.0.2-STABLE</version>
51+
<version>1.0.3-STABLE</version>
5252
</dependency>
5353
<-- optional : under Android -->
5454
<dependency>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (propFile.canRead())
3232
}
3333

3434

35-
version='1.0.2-STABLE'
35+
version='1.0.3-STABLE'
3636
group='fr.distrimind.oss.asqlconnector'
3737

3838

src/main/java/fr/distrimind/oss/asqlconnector/Utils.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* @since DM-A-SQLConnector 1.0
1111
* @version 1.O
1212
*/
13-
class Utils {
13+
public class Utils {
1414

1515

16-
static String getTypedBytesArray(byte[] t) {
16+
public static String getTypedBytesArray(byte[] t) {
1717
if (t == null)
1818
return null;
1919
else {
@@ -23,7 +23,7 @@ static String getTypedBytesArray(byte[] t) {
2323
}
2424

2525
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
26-
static byte[] getUntypedBytesArray(String s) throws SQLException {
26+
public static byte[] getUntypedBytesArray(String s) throws SQLException {
2727
if (s == null)
2828
return null;
2929
else {
@@ -34,15 +34,15 @@ static byte[] getUntypedBytesArray(String s) throws SQLException {
3434
return Base64.getDecoder().decode(s.substring(1));
3535
}
3636
}
37-
static String getTypedString(String s) {
37+
public static String getTypedString(String s) {
3838
if (s == null)
3939
return null;
4040
else {
4141
return ASLConnectorStringType.STRING_TYPE+s;
4242
}
4343
}
4444

45-
static String getUntypedString(String s) {
45+
public static String getUntypedString(String s) {
4646
if (s == null)
4747
return null;
4848
else {
@@ -56,7 +56,7 @@ static String getUntypedString(String s) {
5656

5757

5858
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
59-
static String bigDecimalToString(BigDecimal bigDecimal) {
59+
public static String bigDecimalToString(BigDecimal bigDecimal) {
6060
if (bigDecimal == null)
6161
return null;
6262
else {
@@ -68,7 +68,7 @@ static String bigDecimalToString(BigDecimal bigDecimal) {
6868
}
6969
}
7070

71-
static BigDecimal bigDecimalFromString(String s) throws SQLException {
71+
public static BigDecimal bigDecimalFromString(String s) throws SQLException {
7272
if (s == null || s.length()<2)
7373
return null;
7474
else {

0 commit comments

Comments
 (0)