Skip to content

Commit 6872f9c

Browse files
authored
Fix some non-standard comments (apache#939)
* Fix some non-standard comments * revert --------- Co-authored-by: Jiafu Tang <[email protected]>
1 parent 269748d commit 6872f9c

File tree

18 files changed

+22
-22
lines changed

18 files changed

+22
-22
lines changed

actor/src/main/scala-2.12/org/apache/pekko/util/ByteString.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ sealed abstract class ByteString extends IndexedSeq[Byte] with IndexedSeqOptimiz
913913
*/
914914
def decodeString(charset: Charset): String
915915

916-
/*
916+
/**
917917
* Returns a ByteString which is the binary representation of this ByteString
918918
* if this ByteString is Base64-encoded.
919919
*/

actor/src/main/scala-3/org/apache/pekko/util/ByteString.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ sealed abstract class ByteString
960960
*/
961961
def decodeString(charset: Charset): String
962962

963-
/*
963+
/**
964964
* Returns a ByteString which is the binary representation of this ByteString
965965
* if this ByteString is Base64-encoded.
966966
*/

actor/src/main/scala/org/apache/pekko/actor/ActorSystem.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ private[pekko] class ActorSystemImpl(
11281128
.get
11291129
// #create-scheduler
11301130

1131-
/*
1131+
/**
11321132
* This is called after the last actor has signaled its termination, i.e.
11331133
* after the last dispatcher has had its chance to schedule its shutdown
11341134
* action.

actor/src/main/scala/org/apache/pekko/actor/dungeon/Children.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private[pekko] trait Children { this: ActorCell =>
145145
_nextNameDoNotCallMeDirectly
146146
}
147147

148-
/*
148+
/**
149149
* low level CAS helpers
150150
*/
151151
private final def swapChildrenRefs(oldChildren: ChildrenContainer, newChildren: ChildrenContainer): Boolean =

actor/src/main/scala/org/apache/pekko/dispatch/AbstractDispatcher.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ abstract class MessageDispatcher(val configurator: MessageDispatcherConfigurator
282282
mbox.suspend()
283283
}
284284

285-
/*
285+
/**
286286
* After the call to this method, the dispatcher must begin any new message processing for the specified reference
287287
*/
288288
protected[pekko] def resume(actor: ActorCell): Unit = {

actor/src/main/scala/org/apache/pekko/routing/RouterConfig.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ trait RouterConfig extends Serializable {
8484
case _ => false
8585
}
8686

87-
/*
87+
/**
8888
* Specify that this router should stop itself when all routees have terminated (been removed).
8989
* By Default it is `true`, unless a `resizer` is used.
9090
*/
@@ -244,7 +244,7 @@ trait Pool extends RouterConfig {
244244
*/
245245
def props(routeeProps: Props): Props = routeeProps.withRouter(this)
246246

247-
/*
247+
/**
248248
* Specify that this router should stop itself when all routees have terminated (been removed).
249249
* By Default it is `true`, unless a `resizer` is used.
250250
*/

bench-jmh/src/main/scala/org/apache/pekko/stream/io/FileSourcesBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class FileSourcesBenchmark {
104104
Await.result(h, 30.seconds)
105105
}
106106

107-
/*
107+
/**
108108
* The previous status quo was very slow:
109109
* Benchmark Mode Cnt Score Error Units
110110
* FileSourcesBenchmark.naive_ioSourceLinesIterator avgt 20 7067.944 ± 1341.847 ms/op

cluster-sharding/src/main/scala/org/apache/pekko/cluster/sharding/ShardRegion.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ object ShardRegion {
209209
*/
210210
@SerialVersionUID(1L) final case class Passivate(stopMessage: Any) extends ShardRegionCommand
211211

212-
/*
212+
/**
213213
* Send this message to the `ShardRegion` actor to handoff all shards that are hosted by
214214
* the `ShardRegion` and then the `ShardRegion` actor will be stopped. You can `watch`
215215
* it to know when it is completed.

cluster/src/main/scala/org/apache/pekko/cluster/ClusterJmx.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ trait ClusterNodeMBean {
4545
*/
4646
def getUnreachable: String
4747

48-
/*
48+
/**
4949
* JSON format of the status of all nodes in the cluster as follows:
5050
* {{{
5151
* {

distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/protobuf/ReplicatedDataSerializer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ class ReplicatedDataSerializer(val system: ExtendedActorSystem)
661661
decrements = gcounterFromProto(pncounter.getDecrements))
662662
}
663663

664-
/*
664+
/**
665665
* Convert a Map[A, B] to an Iterable[Entry] where Entry is the protobuf map entry.
666666
*/
667667
private def getEntries[

0 commit comments

Comments
 (0)