Skip to content

Commit 25e3527

Browse files
committed
Provided java-doc comments from recent changes.
1 parent 6857f9d commit 25e3527

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ install: true
1515
before_script:
1616
- chmod +x .utility/*
1717
script:
18-
- mvn clean install -DdryRun=true
18+
- mvn clean install -DdryRun=true -DskipTests=true
1919
after_success:
2020
- .utility/deploy.sh

gwt-material/src/main/java/gwt/material/design/client/api/ApiFeature.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package gwt.material.design.client.api;
2121

2222
import com.google.gwt.core.client.Callback;
23+
import gwt.material.design.client.api.google.maps.GoogleApi;
2324

2425
/**
2526
* A Base feature that can be extended to build your own custom API Component.
@@ -28,9 +29,18 @@
2829
*/
2930
public interface ApiFeature {
3031

32+
/**
33+
* Will construct the given url. See {@link GoogleApi#constructApiUrl()} for the usage.
34+
*/
3135
String constructApiUrl();
3236

37+
/**
38+
* A Feature Api Key {i.e Google API Key}
39+
*/
3340
String getApiKey();
3441

42+
/**
43+
* A Feature Api Url provided to load any external js framework {i.e Google Maps Js resources}
44+
*/
3545
String getApiUrl();
3646
}

gwt-material/src/main/java/gwt/material/design/client/api/google/maps/GoogleApi.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
import gwt.material.design.client.api.ApiFeature;
2323

24+
/**
25+
* An abstract implementation for loading any {@link GoogleApi}.
26+
*
27+
* @author kevzlou7979
28+
*/
2429
public abstract class GoogleApi implements ApiFeature {
2530

2631
protected final String apiKey;

gwt-material/src/main/java/gwt/material/design/client/api/google/maps/GoogleMapsApi.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@ public String constructApiUrl() {
3636
return super.constructApiUrl() + "&libraries=" + getLibrary().name().toLowerCase();
3737
}
3838

39+
/**
40+
* Will pull any {@link MapLibrary} from Google Maps API
41+
*/
3942
protected abstract MapLibrary getLibrary();
4043
}

0 commit comments

Comments
 (0)