Example usage for org.eclipse.jgit.nls NLS getBundleFor

List of usage examples for org.eclipse.jgit.nls NLS getBundleFor

Introduction

In this page you can find the example usage for org.eclipse.jgit.nls NLS getBundleFor.

Prototype

public static <T extends TranslationBundle> T getBundleFor(Class<T> type) 

Source Link

Document

Returns an instance of the translation bundle of the required type.

Usage

From source file:com.google.gerrit.server.change.ChangeMessages.java

License:Apache License

public static ChangeMessages get() {
    return NLS.getBundleFor(ChangeMessages.class);
}

From source file:com.google.gerrit.server.config.CapabilityConstants.java

License:Apache License

public static CapabilityConstants get() {
    return NLS.getBundleFor(CapabilityConstants.class);
}