Skip to content

Commit

Permalink
[Java] Apply single space separator checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Aug 27, 2018
1 parent 821aaf1 commit 19e50c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ public int nextInt()
}

@SuppressWarnings("unchecked")
public final class EntryIterator<T>
public final class EntryIterator<T>
extends AbstractIterator<Entry<Integer, T>>
implements Entry<Integer, T>
{
Expand Down Expand Up @@ -771,7 +771,7 @@ public T getValue()

public T setValue(final T value)
{
throw new UnsupportedOperationException("Cannot set on this iterator");
throw new UnsupportedOperationException("no set on this iterator");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void shouldPutBytesFromDirectBuffer()
buffer = new MappedResizeableBuffer(channel, 0, 100);
final long value = 0x5555555555555555L;

final UnsafeBuffer onHeapDirectBuffer = new UnsafeBuffer(new byte[24]);
final UnsafeBuffer onHeapDirectBuffer = new UnsafeBuffer(new byte[24]);
onHeapDirectBuffer.putLong(16, value);
buffer.putBytes(24, onHeapDirectBuffer, 16, 8);
assertThat(buffer.getLong(24), is(value));
Expand Down
2 changes: 2 additions & 0 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
<property name="allowEmptyLambdas" value="true"/>
</module>

<module name="SingleSpaceSeparator"/>

<module name="OperatorWrap">
<property name="option" value="eol"/>
</module>
Expand Down

0 comments on commit 19e50c3

Please sign in to comment.