Skip to content

Commit 068aa61

Browse files
committed
fix a typo in ByteBufferProxy
1 parent 3a0a702 commit 068aa61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+49
-49
lines changed

src/main/java/org/lmdbjava/BufferProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/ByteArrayProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/ByteBufProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/ByteBufferProxy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
@@ -133,7 +133,7 @@ public static int compareBuff(final ByteBuffer o1, final ByteBuffer o2) {
133133
final int minWords = minLength / Long.BYTES;
134134

135135
final boolean reverse1 = o1.order() == LITTLE_ENDIAN;
136-
final boolean reverse2 = o1.order() == LITTLE_ENDIAN;
136+
final boolean reverse2 = o2.order() == LITTLE_ENDIAN;
137137
for (int i = 0; i < minWords * Long.BYTES; i += Long.BYTES) {
138138
final long lw = reverse1 ? reverseBytes(o1.getLong(i)) : o1.getLong(i);
139139
final long rw = reverse2 ? reverseBytes(o2.getLong(i)) : o2.getLong(i);

src/main/java/org/lmdbjava/CopyFlags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/Cursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/CursorIterable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/Dbi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/DbiFlags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

src/main/java/org/lmdbjava/DirectBufferProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* #%L
33
* LmdbJava
44
* %%
5-
* Copyright (C) 2016 - 2020 The LmdbJava Open Source Project
5+
* Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
66
* %%
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)