This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch javdoc-fixes
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/javdoc-fixes by this push:
new 518c27aab Checkstyle adjustments
518c27aab is described below
commit 518c27aabe3b1cd579713c772a0c89d76e2b2b74
Author: Richard Zowalla <[email protected]>
AuthorDate: Fri Aug 25 10:19:58 2023 +0200
Checkstyle adjustments
---
.../src/jvm/org/apache/storm/cluster/IStormClusterState.java | 3 ++-
storm-client/src/jvm/org/apache/storm/metric/api/IMetric.java | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git
a/storm-client/src/jvm/org/apache/storm/cluster/IStormClusterState.java
b/storm-client/src/jvm/org/apache/storm/cluster/IStormClusterState.java
index 961625abd..d0987002c 100644
--- a/storm-client/src/jvm/org/apache/storm/cluster/IStormClusterState.java
+++ b/storm-client/src/jvm/org/apache/storm/cluster/IStormClusterState.java
@@ -61,7 +61,8 @@ public interface IStormClusterState {
Map<String, Assignment> assignmentsInfo();
/**
- * Sync the remote state store assignments to local backend, used when
master gains leadership, see {@code
org.apache.storm.nimbus.LeaderListenerCallback}.
+ * Sync the remote state store assignments to local backend, used when
master gains leadership,
+ * see {@code org.apache.storm.nimbus.LeaderListenerCallback}.
*
* @param remote assigned assignments for a specific {@link
IStormClusterState} instance, usually a supervisor/node.
*/
diff --git a/storm-client/src/jvm/org/apache/storm/metric/api/IMetric.java
b/storm-client/src/jvm/org/apache/storm/metric/api/IMetric.java
index 6a306eda9..858577ff1 100644
--- a/storm-client/src/jvm/org/apache/storm/metric/api/IMetric.java
+++ b/storm-client/src/jvm/org/apache/storm/metric/api/IMetric.java
@@ -2,9 +2,9 @@
* Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
ASF licenses this file to you under the Apache License, Version
* 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
- *
+ * <p>
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ * <p>
* Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions
* and limitations under the License.
@@ -20,6 +20,7 @@ import java.util.Collection;
public interface IMetric {
/**
* Get value and reset.
+ *
* @return an object that will be sent to {@link
IMetricsConsumer#handleDataPoints(IMetricsConsumer.TaskInfo, Collection)}.
* If {@code null} is returned nothing will be sent. If this value can be
reset, like with a counter, a side effect
* of calling this should be that the value is reset.