Skip to content

Commit bd45321

Browse files
committed
Fix javadoc errors
Signed-off-by: Taylor Smock <[email protected]>
1 parent 4df9c57 commit bd45321

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

src/com/vividsolutions/jcs/plugin/conflate/polygonmatch/MyValidatingTextField.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
/**
1111
* Prevents the user from entering invalid data.
12-
* @ eprecated Use ValidatingTextField instead
12+
* @deprecated Use ValidatingTextField instead
1313
*/
14+
@Deprecated
1415
public class MyValidatingTextField extends ValidatingTextField {
1516

1617
public MyValidatingTextField(

src/com/vividsolutions/jump/feature/AttributeType.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/**
4242
* A type for the attributes of a feature.
43-
* @see FeatureSchema.
43+
* @see FeatureSchema#attributeTypes
4444
*/
4545
public class AttributeType {
4646
private static Map<String, AttributeType> nameToAttributeTypeMap = new HashMap<>();
@@ -82,9 +82,9 @@ public String toString() {
8282

8383
/**
8484
* Converts a type name to an AttributeType.
85-
* @param typename the name of the AttributeType to retrieve
85+
* @param name the name of the AttributeType to retrieve
8686
* @return the corresponding AttributeType
87-
* @throws InvalidAttributeTypeException if the type name is unrecognized
87+
* @throws IllegalArgumentException if the type name is unrecognized
8888
*/
8989
public final static AttributeType toAttributeType(String name) {
9090
AttributeType type = nameToAttributeTypeMap.get(name);

src/com/vividsolutions/jump/feature/FeatureSchema.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public int getAttributeCount() {
101101
}
102102

103103
/**
104-
*@param geometry true if the attribute is a Geometry
104+
* @param attributeName The name of the attribute
105+
* @param attributeType The type of the attribute
105106
*/
106107
public void addAttribute(String attributeName, AttributeType attributeType) {
107108
if (AttributeType.GEOMETRY == attributeType) {

src/com/vividsolutions/jump/geom/EnvelopeUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class EnvelopeUtil {
4444
private static GeometryFactory factory = new GeometryFactory();
4545

4646
/**
47-
* Expands an Envelope by a given distance.
47+
* Expands an Envelope by a given distance.
4848
* Both positive and negative distances are handled.
4949
*/
5050
public static Envelope expand(Envelope env, double distance) {
@@ -77,7 +77,7 @@ public static void translate(Envelope e, Coordinate displacement) {
7777
}
7878

7979
/**
80-
* @param minExtent the minimum buffer distance
80+
* @param originalEnvelope The original envelope that will be buffered
8181
* @param extentFraction the buffer distance expressed as a fraction of the
8282
* average envelope extent
8383
*/

0 commit comments

Comments
 (0)