Skip to content

Commit

Permalink
Remove duplicate words in Javadoc and test comments (#9178)
Browse files Browse the repository at this point in the history
Remove duplicate words in Javadoc and JavaScript comments

Signed-off-by: growfrow <growfrow@outlook.com>
  • Loading branch information
growfrow committed Apr 18, 2024
1 parent aa7ac0b commit 136d310
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public Api getApi() {
public abstract <V, P> V accept(LabelVisitor<V, P> visitor, P param);

/**
* Lists up all the atoms contained in in this label.
* Lists all the atoms contained in this label.
*
* @since 1.420
*/
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/util/StackedAreaRenderer2.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void drawItem(Graphics2D g2,

double value = dataValue.doubleValue();

// leave the y values (y1, y0) untranslated as it is going to be be
// leave the y values (y1, y0) untranslated as it is going to be
// stacked up later by previous series values, after this it will be
// translated.
double xx1 = domainAxis.getCategoryMiddle(column, getColumnCount(),
Expand Down
2 changes: 1 addition & 1 deletion test/src/test/java/hudson/model/UserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public void testAddAndGetProperty() throws Exception {
user.addProperty(prop);
assertNotNull("User should have SomeUserProperty property.", user.getProperty(SomeUserProperty.class));
assertEquals("UserProperty1 should be assigned to its descriptor", prop, user.getProperties().get(prop.getDescriptor()));
assertTrue("User should should contain SomeUserProperty.", user.getAllProperties().contains(prop));
assertTrue("User should contain SomeUserProperty.", user.getAllProperties().contains(prop));
}
j.jenkins.reload();
{
Expand Down

0 comments on commit 136d310

Please sign in to comment.