-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple code changes to chip away at the code warnings #19
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Mike Cobbett <[email protected]>
modules/framework/galasa-parent/galasa-boot/src/main/java/dev/galasa/boot/Launcher.java
Show resolved
Hide resolved
...alasa.framework.k8s.controller/src/main/java/dev/galasa/framework/k8s/controller/Health.java
Show resolved
Hide resolved
...asa.cps.etcd/src/main/java/dev/galasa/cps/etcd/internal/Etcd3ConfigurationPropertyStore.java
Show resolved
Hide resolved
modules/extensions/galasa-extensions-parent/dev.galasa.extensions.common/build.gradle
Show resolved
Hide resolved
...api.users/src/main/java/dev/galasa/framework/api/users/internal/routes/UsersDeleteRoute.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments but approved
@@ -262,7 +262,7 @@ public String get(@NotNull String key) throws DynamicStatusStoreException { | |||
@Override | |||
public @NotNull Map<String, String> getPrefix(@NotNull String keyPrefix) throws DynamicStatusStoreException { | |||
ByteSequence bsPrefix = ByteSequence.from(keyPrefix, UTF_8); | |||
GetOption options = GetOption.newBuilder().withPrefix(bsPrefix).build(); | |||
GetOption options = GetOption.builder().withPrefix(bsPrefix).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change withPrefix
here too?
@@ -340,7 +340,7 @@ public void delete(@NotNull Set<String> keys) throws DynamicStatusStoreException | |||
@Override | |||
public void deletePrefix(@NotNull String keyPrefix) throws DynamicStatusStoreException { | |||
ByteSequence bsKey = ByteSequence.from(keyPrefix, UTF_8); | |||
DeleteOption options = DeleteOption.newBuilder().withPrefix(bsKey).build(); | |||
DeleteOption options = DeleteOption.builder().withPrefix(bsKey).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change withPrefix
here too?
@@ -597,7 +597,7 @@ private Txn performActionsDeletePrefixIf(Txn txn, DssDeletePrefix action) { | |||
private Txn performActionsDeletePrefixThen(Txn txn, DssDeletePrefix action) { | |||
ByteSequence bsKey = ByteSequence.from(action.getPrefix(), UTF_8); | |||
|
|||
DeleteOption option = DeleteOption.newBuilder().withPrefix(bsKey).build(); | |||
DeleteOption option = DeleteOption.builder().withPrefix(bsKey).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change withPrefix
here too?
@@ -1,6 +1,13 @@ | |||
# Galasa | |||
This is a home for all of the Galasa code | |||
This is a home for all of the code Java Galasa code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"code" is here twice - maybe something like "all of the Galasa Java code"?
Signed-off-by: Mike Cobbett [email protected]