Skip to content

Adding Metrics AspectJ article code changes#7387

Merged
ashleyfrieze merged 4 commits into
eugenp:masterfrom
norbertoritzmann:master
Aug 19, 2019
Merged

Adding Metrics AspectJ article code changes#7387
ashleyfrieze merged 4 commits into
eugenp:masterfrom
norbertoritzmann:master

Conversation

@norbertoritzmann

Copy link
Copy Markdown
Contributor

Comment thread metrics/src/main/java/com/baeldung/metrics/aspectj/MetricsAspectJMain.java Outdated
Comment thread metrics/src/main/java/com/baeldung/metrics/aspectj/MetricsAspectJMain.java Outdated
Comment thread metrics/src/main/java/com/baeldung/metrics/aspectj/MetricsAspectJMain.java Outdated
try {
Thread.sleep(1000L);
} catch (InterruptedException e)
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This { belongs on the previous line
It's conventional to comment an empty catch block too

} catch (InterruptedException e) {
   // ignore this exception
}

@ashleyfrieze ashleyfrieze merged commit 92aa2bd into eugenp:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants