Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
bb56b8d
Update CONTRIBUTING.md
siri-varma Apr 29, 2025
f09bf44
Merge branch 'dapr:master' into master
siri-varma Apr 29, 2025
64d2fe3
Merge branch 'dapr:master' into master
siri-varma May 5, 2025
d50775c
Merge branch 'dapr:master' into master
siri-varma May 8, 2025
0b3e757
Merge branch 'dapr:master' into master
siri-varma May 10, 2025
dae3eaa
Fix NPE
siri-varma May 13, 2025
3ad8145
Fix NPE
siri-varma May 13, 2025
d262532
Fix NPE
siri-varma May 13, 2025
5aa5aea
Fix NPE
siri-varma May 13, 2025
7ab8803
Fix NPE
siri-varma May 13, 2025
34e1359
Fix NPE
siri-varma May 13, 2025
3407b81
Fix things
siri-varma May 13, 2025
4b2ea82
Merge branch 'master' into users/svegiraju/fix-npe
cicoyle May 13, 2025
d22ad9a
Merge branch 'master' into users/svegiraju/fix-npe
dapr-bot May 13, 2025
1e2f562
Merge branch 'master' into users/svegiraju/fix-npe
dapr-bot May 14, 2025
c30f537
Merge branch 'dapr:master' into master
siri-varma May 23, 2025
f63eeb9
Merge branch 'dapr:master' into master
siri-varma May 31, 2025
cdc836c
Merge branch 'master' of https://github.com/siri-varma/java-sdk
siri-varma Jun 5, 2025
958161f
Merge branch 'dapr:master' into master
siri-varma Jun 10, 2025
fbb50be
Merge branch 'master' of https://github.com/siri-varma/java-sdk
siri-varma Jun 10, 2025
649a1c6
Fix multiple lines
siri-varma Jun 11, 2025
109f67d
Merge branch 'master' into users/svegiraju/fix-multiple-empty-lines
siri-varma Jun 11, 2025
f681c4b
Fix things
siri-varma Jun 11, 2025
1dc376d
Merge branch 'master' into users/svegiraju/fix-multiple-empty-lines
siri-varma Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
<module name="ModifierOrder"/>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
<property name="allowMultipleEmptyLines" value="false"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapDot"/>
Expand Down Expand Up @@ -287,4 +288,5 @@
<module name="SuppressWarningsHolder"/>
</module>
<module name="SuppressWarningsFilter"/>
<module name="NewlineAtEndOfFile"/>
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class DaprClientProperties {
private Integer httpPort;
private Integer grpcPort;


/**
* Constructs a {@link DaprClientProperties}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = DaprPubSubProperties.CONFIG_PREFIX)
public class DaprPubSubProperties {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public MySQLDaprKeyValueAdapter(DaprClient daprClient, ObjectMapper mapper, Stri
this.bindingName = bindingName;
}


@Override
public <T> Iterable<T> getAllOf(String keyspace, Class<T> type) {
Assert.hasText(keyspace, "Keyspace must not be empty");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public DaprPredicate(PropertyPath path, Object expected) {
this(path, expected, (valueToCompare) -> ObjectUtils.nullSafeEquals(valueToCompare, expected));
}


/**
* Creates a new {@link DaprPredicate}.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ public SendMessageBuilder<T> withTopic(String topic) {
return this;
}


@Override
public void send() {
template.doSend(topic, message);
Expand All @@ -202,7 +201,5 @@ public void send() {
public Mono<Void> sendAsync() {
return template.doSendAsync(topic, message);
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public Map<String, String> properties() {
return carrier.properties();
}


/**
* The name of the bean sending the message (typically a {@code DaprMessagingTemplate}).
* @return the name of the bean sending the message
Expand All @@ -75,7 +74,6 @@ public String getDestination() {
return this.destination;
}


/**
* Acts as a carrier for a Dapr message and records the propagated properties for
* later access by the Dapr.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.dapr.spring.workflows.config;


import org.springframework.context.annotation.Import;

import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

package io.dapr.examples.workflows.childworkflow;

import io.dapr.durabletask.interruption.OrchestratorBlockedException;
import io.dapr.workflows.Workflow;
import io.dapr.workflows.WorkflowStub;
import io.dapr.workflows.WorkflowTaskOptions;
Expand Down
1 change: 0 additions & 1 deletion sdk-actors/src/main/java/io/dapr/actors/ActorId.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public static ActorId createRandom() {
return new ActorId(id.toString());
}


/**
* Compares if two actors have the same content.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public void close() {
}
}


/**
* Build an instance of the Client based on the provided setup.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package io.dapr.springboot;


import io.dapr.actors.runtime.ActorRuntime;
import io.dapr.serializer.DefaultObjectSerializer;
import org.springframework.http.MediaType;
Expand Down Expand Up @@ -124,5 +123,4 @@ public Mono<Void> invokeActorReminder(@PathVariable("type") String type,
@RequestBody(required = false) byte[] body) {
return ActorRuntime.getInstance().invokeReminder(type, id, reminder, body);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ class DaprTopicSubscription {
this(pubsubName, topic, route, "", routes, metadata, bulkSubscribe);
}


/**
* Create a subscription topic.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public String getName() {
return name;
}


@Override
public TaskActivity create() {
return ctx -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ private void shutDownWorkerPool() {
Thread.currentThread().interrupt();
}
}
}
}
1 change: 0 additions & 1 deletion sdk/src/main/java/io/dapr/client/AbstractDaprClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ public Mono<UnlockResponseStatus> unlock(String storeName, String resourceId, St
return this.unlock(request);
}


private List<String> filterEmptyKeys(String... keys) {
return Arrays.stream(keys)
.filter(key -> !key.trim().isEmpty())
Expand Down
1 change: 0 additions & 1 deletion sdk/src/main/java/io/dapr/client/GrpcChannelFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class GrpcChannelFacade implements Closeable {
*/
private final ManagedChannel channel;


/**
* Default access level constructor, in order to create an instance of this class use io.dapr.client.DaprClientBuilder
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public T getEvent() {
return event;
}


public String getContentType() {
return contentType;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public enum BulkSubscribeAppResponseStatus {
SUCCESS,
RETRY,
DROP
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public String getTopic() {
public Map<String, String> getMetadata() {
return metadata;
}
}
}
1 change: 0 additions & 1 deletion sdk/src/main/java/io/dapr/client/domain/LockRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package io.dapr.client.domain;


import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
Expand Down
2 changes: 0 additions & 2 deletions sdk/src/main/java/io/dapr/client/domain/QueryStateItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@

package io.dapr.client.domain;


public class QueryStateItem<T> {


/**
* The value of the state.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package io.dapr.client.domain;


import java.util.Collections;
import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package io.dapr.client.domain;


public enum UnlockResponseStatus {

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/java/io/dapr/client/domain/query/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ public Query setPagination(Pagination pagination) {
this.pagination = pagination;
return this;
}
}
}
2 changes: 0 additions & 2 deletions sdk/src/main/java/io/dapr/config/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ public class Properties {
"DAPR_HTTP_CLIENT_MAX_IDLE_CONNECTIONS",
DEFAULT_HTTP_CLIENT_MAX_IDLE_CONNECTIONS);



/**
* Dapr's default maximum inbound message size for GRPC in bytes.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,4 @@ public enum ErrorDetailType {
HELP,
LOCALIZED_MESSAGE,
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,4 @@ public void onHeaders(Metadata headers) {
}
};
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package io.dapr.utils;


import io.dapr.serializer.DefaultObjectSerializer;

import java.io.IOException;
Expand Down Expand Up @@ -145,7 +144,6 @@ public static boolean isCloudEventContentType(String contentType) {
return isContentType(contentType, "application/cloudevents+json");
}


public static boolean isJsonContentType(String contentType) {
return isContentType(contentType, "application/json");
}
Expand Down
3 changes: 1 addition & 2 deletions sdk/src/main/java/io/dapr/utils/NetworkUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import static io.dapr.config.Properties.GRPC_TLS_KEY_PATH;
import static io.dapr.config.Properties.SIDECAR_IP;


/**
* Utility methods for network, internal to Dapr SDK.
*/
Expand Down Expand Up @@ -382,4 +381,4 @@ public static String getHostLoopbackAddress() {
static boolean isIPv6(String ip) {
return IPV6_PATTERN.matcher(ip).matches();
}
}
}
Loading