X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=demo%2Fplugins%2Forg.argeo.demo.i18n%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fdemo%2Fi18n%2FImplementationLoader.java;h=dc30830266e2cae82a12f12ac2a5ddf92c7f39ca;hb=1d5afdce3e91054f07ddd3c98309c363b4cf1d46;hp=041740b6dd06f7435ebc6d54e2d6a0fbaa4f114a;hpb=d7c1552f4c28dc4acc25fb6214fb70d4fe67389d;p=lgpl%2Fargeo-commons.git diff --git a/demo/plugins/org.argeo.demo.i18n/src/main/java/org/argeo/demo/i18n/ImplementationLoader.java b/demo/plugins/org.argeo.demo.i18n/src/main/java/org/argeo/demo/i18n/ImplementationLoader.java index 041740b6d..dc3083026 100644 --- a/demo/plugins/org.argeo.demo.i18n/src/main/java/org/argeo/demo/i18n/ImplementationLoader.java +++ b/demo/plugins/org.argeo.demo.i18n/src/main/java/org/argeo/demo/i18n/ImplementationLoader.java @@ -1,10 +1,22 @@ +/* + * Copyright (C) 2007-2012 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.demo.i18n; import java.text.MessageFormat; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - /** * This class enable single sourcing between RAP and RCP. For this to run * correctly, following conventions must be respected: @@ -18,8 +30,8 @@ import org.apache.commons.logging.LogFactory; */ public class ImplementationLoader { - private final static Log log = LogFactory - .getLog(ImplementationLoader.class); + // private final static Log log = LogFactory + // .getLog(ImplementationLoader.class); public static Object newInstance( @SuppressWarnings("rawtypes") final Class type) {