- Revision
- 1394
- Author
- rfscholte
- Date
- 2011-10-09 14:41:11 -0500 (Sun, 09 Oct 2011)
Log Message
Move AbstractInheritableJavaEntity to separate package
Modified Paths
- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractBaseMethod.java
- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaClass.java
Added Paths
Removed Paths
Diff
Deleted: trunk/qdox/src/main/java/com/thoughtworks/qdox/model/AbstractInheritableJavaEntity.java (1393 => 1394)
--- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/AbstractInheritableJavaEntity.java 2011-10-09 19:39:42 UTC (rev 1393) +++ trunk/qdox/src/main/java/com/thoughtworks/qdox/model/AbstractInheritableJavaEntity.java 2011-10-09 19:41:11 UTC (rev 1394) @@ -1,39 +0,0 @@ -package com.thoughtworks.qdox.model; - -/* - * 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. - */ - -import java.util.List; - -import com.thoughtworks.qdox.model.impl.AbstractJavaEntity; - -/** - * @author Aslak Hellesøy - * @version $Revision$ - */ -public abstract class AbstractInheritableJavaEntity extends AbstractJavaEntity { - - public DocletTag getTagByName(String name, boolean inherited) { - List<DocletTag> tags = getTagsByName(name, inherited); - return tags.size() > 0 ? tags.get(0) : null; - } - - public abstract List<DocletTag> getTagsByName(String name, boolean inherited); - -}
Modified: trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractBaseMethod.java (1393 => 1394)
--- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractBaseMethod.java 2011-10-09 19:39:42 UTC (rev 1393) +++ trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractBaseMethod.java 2011-10-09 19:41:11 UTC (rev 1394) @@ -4,7 +4,6 @@ import java.util.LinkedList; import java.util.List; -import com.thoughtworks.qdox.model.AbstractInheritableJavaEntity; import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.JavaClass; import com.thoughtworks.qdox.model.JavaMethod;
Copied: trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractInheritableJavaEntity.java (from rev 1389, trunk/qdox/src/main/java/com/thoughtworks/qdox/model/AbstractInheritableJavaEntity.java) (0 => 1394)
--- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractInheritableJavaEntity.java (rev 0) +++ trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/AbstractInheritableJavaEntity.java 2011-10-09 19:41:11 UTC (rev 1394) @@ -0,0 +1,39 @@ +package com.thoughtworks.qdox.model.impl; + +/* + * 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. + */ + +import java.util.List; + +import com.thoughtworks.qdox.model.DocletTag; + +/** + * @author Aslak Hellesøy + * @version $Revision$ + */ +public abstract class AbstractInheritableJavaEntity extends AbstractJavaEntity { + + public DocletTag getTagByName(String name, boolean inherited) { + List<DocletTag> tags = getTagsByName(name, inherited); + return tags.size() > 0 ? tags.get(0) : null; + } + + public abstract List<DocletTag> getTagsByName(String name, boolean inherited); + +}
Modified: trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaClass.java (1393 => 1394)
--- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaClass.java 2011-10-09 19:39:42 UTC (rev 1393) +++ trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaClass.java 2011-10-09 19:41:11 UTC (rev 1394) @@ -28,7 +28,6 @@ import java.util.Set; import com.thoughtworks.qdox.library.ClassLibrary; -import com.thoughtworks.qdox.model.AbstractInheritableJavaEntity; import com.thoughtworks.qdox.model.BeanProperty; import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.JavaClass;
To unsubscribe from this list please visit:
