Skip to content

Commit

Permalink
use static block
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Feb 5, 2025
1 parent e7bd4e1 commit 73ebee2
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@
@RunWith(JUnit4.class)
public abstract class AbstractDataStoreFactoryTest {

private static final String STRING_ID = "String";
private static final String BOOLEAN_ID = "Boolean";
private static final String STRING_ID;
private static final String BOOLEAN_ID;

static {
STRING_ID = "String";
BOOLEAN_ID = "Boolean";
}
DataStoreFactory dataStore;
DataStore<String> stringTyped;
DataStore<Boolean> boolTyped;
Expand Down

0 comments on commit 73ebee2

Please sign in to comment.