Skip to content

Commit

Permalink
Codestyle corrections for List.java
Browse files Browse the repository at this point in the history
  • Loading branch information
flacode committed Mar 12, 2017
1 parent 190ce5a commit 9a8c59c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/common/org/python/types/List.java
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@ public org.python.Object __getitem__(org.python.Object index) {

if (step < 0) {
long start;
if (slice.start != null){
if (slice.start != null) {
start = Math.min(slice.start.value, this.value.size());
} else {
start =this.value.size()-1;
start = this.value.size() - 1;
}

long stop;
Expand Down

0 comments on commit 9a8c59c

Please sign in to comment.