Skip to content

Commit

Permalink
[utils] Rewrite Messages class in SARL.
Browse files Browse the repository at this point in the history
close #617

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 28, 2017
1 parent 1546ee6 commit eefb5fb
Showing 1 changed file with 14 additions and 11 deletions.
Expand Up @@ -19,27 +19,30 @@
* limitations under the License.
*/

package io.sarl.eventdispatching;
package io.sarl.eventdispatching

import org.eclipse.osgi.util.NLS;
import org.eclipse.osgi.util.NLS

/** Messages.
* @author $Author: sgalland$
* @version $FullVersion$
* @mavengroupid $GroupId$
* @mavenartifactid $ArtifactId$
*/
@SuppressWarnings("all")
public class Messages extends NLS {
private static final String BUNDLE_NAME = "io.sarl.eventdispatching.messages"; //$NON-NLS-1$
public static String BehaviorGuardEvaluator_0;
public static String BehaviorGuardEvaluator_1;
public static String BehaviorGuardEvaluatorRegistry_0;
static {
final class Messages extends NLS {

private static val BUNDLE_NAME = {
val name = "io.sarl.eventdispatching.messages"
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
NLS.initializeMessages(name, typeof(Messages))
name
}

private Messages() {
public static var BehaviorGuardEvaluator_0 : String
public static var BehaviorGuardEvaluator_1 : String
public static var BehaviorGuardEvaluatorRegistry_0 : String

private new {
}

}

0 comments on commit eefb5fb

Please sign in to comment.