Skip to content

Use Eclipse default code formatter for better readability  #5

@jeandersonbc

Description

@jeandersonbc

The current code indentation/style is a little bit odd for Java conventions and some lines are really bad to read.

I honestly prefer this

// printing the links
if (ICC_SHOW_LINKS) {
    List<ICCLinkInfo<IntentInfo>> links = resultsEntry.getValue().iccLinks;
    for (ICCLinkInfo<IntentInfo> link : links) {
        System.out.println(link);
    }
}

Instead of this

// printing the links
if (ICC_SHOW_LINKS)
{
  List<ICCLinkInfo<IntentInfo>> links = resultsEntry.getValue().iccLinks;

  for (ICCLinkInfo<IntentInfo> link : links)
  {
    System.out.println(link);
  }
}

PRO-Tip: Enable Save Actions on Eclipse

screenshot from 2016-03-15 14 19 59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions