Skip to content

Commit

Permalink
Remove warnings because of missing serialVersionUID (#21)
Browse files Browse the repository at this point in the history
- satisfy linter
  • Loading branch information
ChriFo authored Dec 15, 2024
1 parent 532d59b commit 78aafa2
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 23 deletions.
44 changes: 21 additions & 23 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" />
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER" />
<classpathentry including="**/*.java" kind="src" path="src/main/java" />
<classpathentry including="**/*Test.java" kind="src" output="target/test-classes/"
path="src/test/java">
<attributes>
<attribute name="test" value="true" />
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true" />
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes/"
path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true" />
<attribute name="test" value="true" />
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes" />
</classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry including="**/*.java" kind="src" path="src/main/java"/>
<classpathentry including="**/*Test.java" kind="src" output="target/test-classes/" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes/" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

public class OAuth2ProxyHeaderAuthToken implements HostAuthenticationToken {

private static final long serialVersionUID = 234235998981350L;
private final Logger logger = LoggerFactory.getLogger(OAuth2ProxyHeaderAuthToken.class);

HttpHeaderAuthenticationToken user;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package com.github.tumbl3w33d.users;

public class IncompleteOAuth2ProxyUserDataException extends RuntimeException {

private static final long serialVersionUID = 548791947914L;

public IncompleteOAuth2ProxyUserDataException(String message) {
super(message);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

public class OAuth2ProxyLoginRecord extends AbstractEntity implements Serializable, HasStringId {

private static final long serialVersionUID = 2397868513451L;

private String userId;
private Timestamp lastLogin;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

public class OAuth2ProxyRole extends AbstractEntity implements Comparable<OAuth2ProxyRole>, Serializable, HasStringId {

private static final long serialVersionUID = 1230813656398236L;

private String name;

public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

public class OAuth2ProxyUser extends AbstractEntity implements Comparable<OAuth2ProxyUser>, Serializable, HasStringId {

private static final long serialVersionUID = 982589242389412L;
private static final Logger logger = LoggerFactory.getLogger(OAuth2ProxyUser.class.getName());

private String preferred_username;
Expand Down

0 comments on commit 78aafa2

Please sign in to comment.