Bug 573153: Fix whitespace issues in compiler usage texts

First and foremost, 'misc.usage.warn' contained tabs instead of spaces,
making assuming a tab width of 4 inside the properties file. But on the
console usually tabs are displayed as 8 spaces. As this is
user-configurable, though, it makes sense to expand the tabs. BTW, not
even when setting the console tab width to 4, output looks correct,
because in the file each continuation line begins with a '\' character,
making the first tab expand to position 4 in the file, but position 3 on
the output line because the backslash is not printed. This makes using
tabs unreliable at best, when trying to predict what the usage text
might look like on the console. Hence, all tabs were expanded to spaces.

In a few other places where indentation for the column layout was also
broken using normal using normal space, I made a few more cosmetic
fixes.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Change-Id: Icc25a1e2384c9f22a89a4480c8bf3d39d4ac81aa
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/180757
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Reviewed-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
2 files changed
tree: 659c0353833977d909f868c462c99cf53e29039f
  1. JCL/
  2. modules/
  3. org.eclipse.jdt.annotation/
  4. org.eclipse.jdt.annotation_v1/
  5. org.eclipse.jdt.apt.core/
  6. org.eclipse.jdt.apt.pluggable.core/
  7. org.eclipse.jdt.apt.pluggable.tests/
  8. org.eclipse.jdt.apt.tests/
  9. org.eclipse.jdt.apt.ui/
  10. org.eclipse.jdt.compiler.apt/
  11. org.eclipse.jdt.compiler.apt.tests/
  12. org.eclipse.jdt.compiler.tool/
  13. org.eclipse.jdt.compiler.tool.tests/
  14. org.eclipse.jdt.core/
  15. org.eclipse.jdt.core.ecj.validation/
  16. org.eclipse.jdt.core.formatterapp/
  17. org.eclipse.jdt.core.internal.tools/
  18. org.eclipse.jdt.core.tests.builder/
  19. org.eclipse.jdt.core.tests.compiler/
  20. org.eclipse.jdt.core.tests.model/
  21. org.eclipse.jdt.core.tests.performance/
  22. org.eclipse.jdt.tests.latestBREE/
  23. tests-pom/
  24. .gitignore
  25. CONTRIBUTING
  26. LICENSE
  27. NOTICE
  28. pom.xml
  29. README.md
README.md

JDT Core

This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:

  • an incremental or batch Java compiler that can run standalone or as part of the Eclipse IDE
  • Java source and class file indexer and search infrastructure
  • a Java source code formatter
  • APIs for code assist, access to the AST and structured manipulation of Java source.

For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.

License

Eclipse Public License (EPL) v2.0