Skip to content

Commit ae4993e

Browse files
javier-godoypaodb
authored andcommitted
docs: fix javadoc warnings
Close #141
1 parent 1eb06d7 commit ae4993e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMap.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ public boolean isBrowserHasGeolocationSupport() {
592592
* Adds a CurrentLocationEvent listener. The listener is called when setting the current location.
593593
*
594594
* @param listener
595-
* @return
595+
* @return a handle that can be used for removing the listener
596596
*/
597597
public Registration addCurrentLocationEventListener(
598598
ComponentEventListener<CurrentLocationEvent> listener) {
@@ -604,7 +604,7 @@ public Registration addCurrentLocationEventListener(
604604
* found.
605605
*
606606
* @param listener
607-
* @return
607+
* @return a handle that can be used for removing the listener
608608
*/
609609
public Registration addGeolocationErrorEventListener(
610610
ComponentEventListener<GeolocationErrorEvent> listener) {
@@ -705,7 +705,7 @@ public void setClusteringRenderer(String customRenderer) {
705705
* pan or zoom)
706706
*
707707
* @param listener
708-
* @return
708+
* @return a handle that can be used for removing the listener
709709
*/
710710
public Registration addMapIdleListener(ComponentEventListener<GoogleMapIdleEvent> listener) {
711711
DomListenerRegistration registration =
@@ -726,7 +726,7 @@ public GoogleMapIdleEvent(GoogleMap source, boolean fromClient) {
726726
* zoomed
727727
*
728728
* @param listener
729-
* @return
729+
* @return a handle that can be used for removing the listener
730730
*/
731731
public Registration addGoogleMapBoundsChangedListener(
732732
ComponentEventListener<GoogleMapBoundsChangedEvent> listener) {

src/main/java/com/flowingcode/vaadin/addons/googlemaps/GoogleMapPoly.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public Registration addClickListener(
182182
}
183183

184184
/**
185-
* @deprecated, use {@link #setIcons(IconSequence...)} instead.
185+
* @deprecated Use {@link #setIcons(IconSequence...)} instead.
186186
*/
187187
@Deprecated
188188
public void setIcons(Icon... icons) {

src/main/java/com/flowingcode/vaadin/addons/googlemaps/Icon.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,7 +25,7 @@
2525
import java.util.Optional;
2626

2727
/**
28-
* @deprecated, use {@link IconSequence} instead.
28+
* @deprecated Use {@link IconSequence} instead.
2929
*/
3030
@Deprecated
3131
public class Icon extends Symbol {
@@ -34,9 +34,9 @@ public class Icon extends Symbol {
3434

3535
public Icon(String path, String strokeColor, String fillColor, int fillOpacity, int repeat) {
3636
super(path);
37-
this.setStrokeColor(strokeColor);
38-
this.setFillColor(fillColor);
39-
this.setFillOpacity(Double.valueOf(fillOpacity));
37+
setStrokeColor(strokeColor);
38+
setFillColor(fillColor);
39+
setFillOpacity(Double.valueOf(fillOpacity));
4040
this.repeat = repeat;
4141
}
4242

0 commit comments

Comments
 (0)