Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java

    r8444 r8510  
    9191            }
    9292
    93             synchronized(ImageDisplay.this) {
     93            synchronized (ImageDisplay.this) {
    9494                if (this.file != ImageDisplay.this.file) {
    9595                    // The file has changed
     
    206206            checkVisibleRectPos(image, visibleRect);
    207207
    208             synchronized(ImageDisplay.this) {
     208            synchronized (ImageDisplay.this) {
    209209                if (ImageDisplay.this.file == file) {
    210210                    ImageDisplay.this.visibleRect = visibleRect;
     
    243243            checkVisibleRectPos(image, visibleRect);
    244244
    245             synchronized(ImageDisplay.this) {
     245            synchronized (ImageDisplay.this) {
    246246                if (ImageDisplay.this.file == file) {
    247247                    ImageDisplay.this.visibleRect = visibleRect;
     
    314314                visibleRect.y += mousePointInImg.y - p.y;
    315315                checkVisibleRectPos(image, visibleRect);
    316                 synchronized(ImageDisplay.this) {
     316                synchronized (ImageDisplay.this) {
    317317                    if (ImageDisplay.this.file == file) {
    318318                        ImageDisplay.this.visibleRect = visibleRect;
     
    437437
    438438    public void setImage(File file, Integer orientation) {
    439         synchronized(this) {
     439        synchronized (this) {
    440440            this.file = file;
    441441            image = null;
     
    461461        boolean errorLoading;
    462462
    463         synchronized(this) {
     463        synchronized (this) {
    464464            image = this.image;
    465465            file = this.file;
     
    622622        }
    623623
    624         synchronized(this) {
     624        synchronized (this) {
    625625            if (file == this.file) {
    626626                this.visibleRect = visibleRect;
Note: See TracChangeset for help on using the changeset viewer.