Skip to content

Commit

Permalink
@wip sonarqube static analysis check
Browse files Browse the repository at this point in the history
  • Loading branch information
xcesco committed Aug 4, 2021
1 parent 569652b commit 607364e
Show file tree
Hide file tree
Showing 37 changed files with 1,372 additions and 2,405 deletions.
82 changes: 0 additions & 82 deletions kripton-android-core/kripton-android-core.iml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void init(Context contextValue) {
*
* @param contextValue
* the context value
* @param executorService
* @param service
* the executor service
*/
public static void init(Context contextValue, ExecutorService service) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ public static Thumbnail parseThumbnail(byte[] input) {
JsonParser jacksonParser=wrapper.jacksonParser;
// START_OBJECT
jacksonParser.nextToken();
Thumbnail __thumbnail=null;
Thumbnail result=null;
if (jacksonParser.currentToken()==JsonToken.START_OBJECT) {
__thumbnail=thumbnailBindMap.parseOnJackson(jacksonParser);
result=thumbnailBindMap.parseOnJackson(jacksonParser);
}
return __thumbnail;
return result;
} catch(Exception e) {
e.printStackTrace();
throw(new KriptonRuntimeException(e.getMessage()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ public static Image parseImage(byte[] input) {
JsonParser jacksonParser=wrapper.jacksonParser;
// START_OBJECT
jacksonParser.nextToken();
Image __image=null;
Image result=null;
if (jacksonParser.currentToken()==JsonToken.START_OBJECT) {
__image=imageBindMap.parseOnJackson(jacksonParser);
result=imageBindMap.parseOnJackson(jacksonParser);
}
return __image;
return result;
} catch(Exception e) {
e.printStackTrace();
throw(new KriptonRuntimeException(e.getMessage()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public int deleteByPhoneNumberId(long phoneNumberId) {

/**
* <h2>SQL insert</h2>
* <pre>INSERT INTO person_phone (buy_date, person_id, phone_number_id) VALUES (:buyDate, :personId, :phoneNumberId)</pre>
* <pre>INSERT INTO person_phone (buy_date, person_id, phone_number_id) VALUES (:bean.buyDate, :bean.personId, :bean.phoneNumberId)</pre>
*
* <p><code>bean.id</code> is automatically updated because it is the primary key</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public int deleteByCityId(long cityId) {

/**
* <h2>SQL insert</h2>
* <pre>INSERT INTO person_city_ok1 (city_id, person_id) VALUES (:cityId, :personId)</pre>
* <pre>INSERT INTO person_city_ok1 (city_id, person_id) VALUES (:bean.cityId, :bean.personId)</pre>
*
* <p><code>bean.id</code> is automatically updated because it is the primary key</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public int deleteByCityId(long cityId) {

/**
* <h2>SQL insert</h2>
* <pre>INSERT INTO person_city_err3 (city_id, person_id) VALUES (:cityId, :personId)</pre>
* <pre>INSERT INTO person_city_err3 (city_id, person_id) VALUES (:bean.cityId, :bean.personId)</pre>
*
* <p><code>bean.id</code> is automatically updated because it is the primary key</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ public static DocumentInfo parseInfo(byte[] input) {
JsonParser jacksonParser=wrapper.jacksonParser;
// START_OBJECT
jacksonParser.nextToken();
DocumentInfo result=null;
DocumentInfo __info=null;
if (jacksonParser.currentToken()==JsonToken.START_OBJECT) {
result=documentInfoBindMap.parseOnJackson(jacksonParser);
__info=documentInfoBindMap.parseOnJackson(jacksonParser);
}
return result;
return __info;
} catch(Exception e) {
e.printStackTrace();
throw(new KriptonRuntimeException(e.getMessage()));
Expand Down
69 changes: 0 additions & 69 deletions kripton-arch-integration/kripton-arch-integration.iml

This file was deleted.

Loading

0 comments on commit 607364e

Please sign in to comment.