Browse Source

无jira任务 sonar问题修改

persist/11.0
Bryant 5 years ago
parent
commit
c8145fabee
  1. 5
      designer-base/src/main/java/com/fr/design/gui/syntax/print/RPrintUtilities.java

5
designer-base/src/main/java/com/fr/design/gui/syntax/print/RPrintUtilities.java

@ -522,8 +522,9 @@ public abstract class RPrintUtilities {
return x;
int tabSizeInPixels = tabSizeInSpaces * fm.charWidth(' ');
int ntabs = (((int) x) - xOffset) / tabSizeInPixels;
float reFloat = xOffset + ((ntabs + 1) * tabSizeInPixels);
return reFloat;
int reFloat = xOffset + ((ntabs + 1) * tabSizeInPixels);
float ans = reFloat;
return ans;
}
}

Loading…
Cancel
Save