Skip to content

Commit

Permalink
Polishing #1175
Browse files Browse the repository at this point in the history
Add author tag. Reformat code.

Original pull request: #1178.
  • Loading branch information
mp911de committed Nov 7, 2019
1 parent ba70d19 commit caa2748
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/io/lettuce/core/BitFieldArgs.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* {@link BitFieldArgs} is a mutable object and instances should be used only once to avoid shared mutable state.
*
* @author Mark Paluch
* @author Ian Pojman
* @since 4.2
*/
public class BitFieldArgs implements CompositeArgument {
Expand Down Expand Up @@ -444,7 +445,7 @@ <K, V> void build(CommandArgs<K, V> args) {
args.add(CommandType.SET).add(bitFieldType.asString());

if (bitOffset) {
args.add("#"+offset);
args.add("#" + offset);
} else {
args.add(offset);
}
Expand Down Expand Up @@ -478,7 +479,7 @@ <K, V> void build(CommandArgs<K, V> args) {
args.add(CommandType.GET).add(bitFieldType.asString());

if (bitOffset) {
args.add("#"+offset);
args.add("#" + offset);
} else {
args.add(offset);
}
Expand Down

0 comments on commit caa2748

Please sign in to comment.