Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
Signed-off-by: olivier lamy <[email protected]>
  • Loading branch information
olamy committed Nov 28, 2019
1 parent 1b49e72 commit d321c2f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ public static boolean checkSessionPersisted(SessionData data)
"select * from " + TABLE +
" where " + ID_COL + " = ? and " + CONTEXT_COL +
" = ? and virtualHost = ?" );
statement.setString(1, data.getId() );
statement.setString(2, data.getContextPath() );
statement.setString(3, data.getVhost() );
statement.setString(1, data.getId());
statement.setString(2, data.getContextPath());
statement.setString(3, data.getVhost());

result = statement.executeQuery();

Expand All @@ -200,9 +200,9 @@ public static boolean checkSessionPersisted(SessionData data)
Blob blob = result.getBlob(MAP_COL);

SessionData tmp =
new SessionData( data.getId(), data.getContextPath(), data.getVhost(), result.getLong( CREATE_COL ),
result.getLong( ACCESS_COL ), result.getLong( LAST_ACCESS_COL ),
result.getLong( MAX_IDLE_COL ) );
new SessionData( data.getId(), data.getContextPath(), data.getVhost(), result.getLong(CREATE_COL),
result.getLong(ACCESS_COL), result.getLong(LAST_ACCESS_COL),
result.getLong(MAX_IDLE_COL));

if (blob.length() > 0)
{
Expand Down

0 comments on commit d321c2f

Please sign in to comment.