Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 99660 invoked from network); 6 Sep 2006 16:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 16:54:54 -0000 Received: (qmail 43453 invoked by uid 500); 6 Sep 2006 16:54:53 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 43422 invoked by uid 500); 6 Sep 2006 16:54:53 -0000 Mailing-List: contact cxf-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-commits@incubator.apache.org Received: (qmail 43352 invoked by uid 99); 6 Sep 2006 16:54:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 09:54:52 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 09:54:51 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 1D14F1A981A; Wed, 6 Sep 2006 09:54:31 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r440793 - in /incubator/cxf/trunk/tools/xjc: cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java Date: Wed, 06 Sep 2006 16:54:30 -0000 To: cxf-commits@incubator.apache.org From: andreasmyth@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060906165431.1D14F1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: andreasmyth Date: Wed Sep 6 09:54:29 2006 New Revision: 440793 URL: http://svn.apache.org/viewvc?view=rev&rev=440793 Log: Fixed some checkstyle errors. Modified: incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java Modified: incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java?view=diff&rev=440793&r1=440792&r2=440793 ============================================================================== --- incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java (original) +++ incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java Wed Sep 6 09:54:29 2006 @@ -1,13 +1,29 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.cxf.xjc.cfg; -import java.awt.Image; import java.util.Collections; import java.util.List; import org.xml.sax.ErrorHandler; -import com.sun.codemodel.JBlock; -import com.sun.codemodel.JCodeModel; import com.sun.codemodel.JConditional; import com.sun.codemodel.JDefinedClass; import com.sun.codemodel.JDocComment; @@ -20,16 +36,10 @@ import com.sun.codemodel.JType; import com.sun.tools.xjc.Options; import com.sun.tools.xjc.Plugin; -import com.sun.tools.xjc.model.CCustomizations; import com.sun.tools.xjc.model.CPluginCustomization; -import com.sun.tools.xjc.model.CPropertyInfo; import com.sun.tools.xjc.outline.ClassOutline; import com.sun.tools.xjc.outline.FieldOutline; import com.sun.tools.xjc.outline.Outline; -import com.sun.tools.xjc.util.DOMUtils; -import com.sun.xml.xsom.XSElementDecl; -import com.sun.xml.xsom.XSParticle; -import com.sun.xml.xsom.XSTerm; import org.apache.cxf.configuration.AbstractConfigurableBeanBase; Modified: incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java?view=diff&rev=440793&r1=440792&r2=440793 ============================================================================== --- incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java (original) +++ incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java Wed Sep 6 09:54:29 2006 @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.cxf.xjc.dv; import java.util.Map; @@ -117,11 +136,11 @@ xsType = xsType.getBaseType(); } if ("base64Binary".equals(xsType.getName())) { - // var.init(outline.getCodeModel().ref(DatatypeConverter.class) - // .staticInvoke("parseBase64Binary").arg(defaultValue)); + var.init(outline.getCodeModel().ref(DatatypeConverter.class) + .staticInvoke("parseBase64Binary").arg(defaultValue)); } else if ("hexBinary".equals(xsType.getName())) { - // var.init(JExpr._new(outline.getCodeModel().ref(HexBinaryAdapter.class)) - // .invoke("unmarshal").arg(defaultValue)); + var.init(JExpr._new(outline.getCodeModel().ref(HexBinaryAdapter.class)) + .invoke("unmarshal").arg(defaultValue)); } } else if ("javax.xml.namespace.QName".equals(typeName)) { NamespaceContext nsc = new NamespaceContextAdapter(xmlDefaultValue);