Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @Override annotations #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void processMessages(MessageProcessor processor) {
}
}

@Override
public Iterator<Message> iterator() {
return messageMap.values().iterator();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ private MsgctxtCollector(String initial) {
collect(initial);
}

@Override
protected void wrapUp(String entry, boolean isPrevious) {
if (isPrevious) {
addToken(new Token(PREV_MSGCTXT, entry));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class LocaleUtils {
new LocaleComparator();

public static class LocaleComparator implements Comparator {
@Override
public int compare(Object o1, Object o2) {
return render((Locale) o1, '-').compareTo(render((Locale) o2, '-'));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@
*/
public class NoOpWriter extends Writer {

@Override
public void write(char cbuf[], int off, int len) {
}

@Override
public void flush() {
}

@Override
public void close() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected void runTest() throws Throwable {

private static class PoAndDirFileFilter implements FileFilter {
// @Override
@Override
public boolean accept(File pathname) {
if (pathname.isDirectory()) {
return true;
Expand Down