ref 8471:TDM - DataMiner Manager - Support Java 8 compatibility

https://support.d4science.org/issues/8471

Updated to support Java 8 compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/openlayer-basic-widgets@148584 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-05-12 12:56:53 +00:00
parent af47ba2a66
commit 52bd941b98
16 changed files with 52 additions and 37 deletions

View File

@ -1,19 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" output="target/openlayer-basic-widgets-1.1.0-SNAPSHOT/WEB-INF/classes" path="src/main/java"> <classpathentry kind="src" output="target/openlayer-basic-widgets-1.2.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry including="**/*.java" kind="src" path="src/main/resources"/> <classpathentry excluding="**" kind="src" output="target/openlayer-basic-widgets-1.2.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> <classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry including="**/*.java" kind="src" path="src/test/resources"/> <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
@ -25,5 +33,5 @@
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target/openlayer-basic-widgets-1.1.0-SNAPSHOT/WEB-INF/classes"/> <classpathentry kind="output" path="target/openlayer-basic-widgets-1.2.0-SNAPSHOT/WEB-INF/classes"/>
</classpath> </classpath>

View File

@ -1,4 +1,8 @@
<ReleaseNotes> <ReleaseNotes>
<Changeset component="org.gcube.portlets.widgets.openlayer-basic-widgets.1-2-0"
date="2017-06-12">
<Change>Support Java 8 compatibility [ticket #8471]</Change>
</Changeset>
<Changeset component="org.gcube.portlets.widgets.openlayer-basic-widgets.1-1-0" <Changeset component="org.gcube.portlets.widgets.openlayer-basic-widgets.1-1-0"
date="2016-12-01"> date="2016-12-01">
<Change>Updated to support EPSG 4326</Change> <Change>Updated to support EPSG 4326</Change>

View File

@ -12,7 +12,7 @@
<groupId>org.gcube.portlets.widgets</groupId> <groupId>org.gcube.portlets.widgets</groupId>
<artifactId>openlayer-basic-widgets</artifactId> <artifactId>openlayer-basic-widgets</artifactId>
<version>1.1.0-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
<name>openlayer-basic-widgets</name> <name>openlayer-basic-widgets</name>
<description>openlayer-basic-widgets</description> <description>openlayer-basic-widgets</description>

View File

@ -12,7 +12,7 @@ import com.google.gwt.core.shared.GWT;
/** /**
* *
* @author Giancarlo Panichi * @author Giancarlo Panichi
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class OpenLayerBasicWidgetsManager implements EntryPoint { public class OpenLayerBasicWidgetsManager implements EntryPoint {

View File

@ -9,8 +9,8 @@ import com.google.gwt.event.shared.HasHandlers;
* Select Area Dialog Event * Select Area Dialog Event
* *
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SelectAreaDialogEvent extends public class SelectAreaDialogEvent extends

View File

@ -5,15 +5,16 @@ import java.util.List;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public enum SelectAreaDialogEventType { public enum SelectAreaDialogEventType {
Completed("Completed"), Failed("Failed"), Aborted("Aborted"); Completed("Completed"), Failed("Failed"), Aborted("Aborted");
/** /**
* @param text *
* @param id id
*/ */
private SelectAreaDialogEventType(final String id) { private SelectAreaDialogEventType(final String id) {
this.id = id; this.id = id;
@ -36,8 +37,8 @@ public enum SelectAreaDialogEventType {
/** /**
* *
* @param id * @param id id
* @return * @return select area dialog event type
*/ */
public static SelectAreaDialogEventType getTypeFromId(String id) { public static SelectAreaDialogEventType getTypeFromId(String id) {
if (id == null || id.isEmpty()) if (id == null || id.isEmpty())

View File

@ -7,8 +7,8 @@ import com.google.gwt.resources.client.CssResource;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface OLBasicCSS extends CssResource { public interface OLBasicCSS extends CssResource {

View File

@ -6,8 +6,8 @@ import com.google.gwt.resources.client.ImageResource;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface OLBasicResources extends ClientBundle { public interface OLBasicResources extends ClientBundle {

View File

@ -11,8 +11,8 @@ import com.google.gwt.user.client.ui.HTML;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class AlertDialog extends DialogBox implements ClickHandler { public class AlertDialog extends DialogBox implements ClickHandler {

View File

@ -4,8 +4,8 @@ import com.google.gwt.core.client.Callback;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class GWTMessages { public class GWTMessages {

View File

@ -14,8 +14,8 @@ import com.google.gwt.user.client.ui.HTML;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class WaitDialog extends DialogBox { public class WaitDialog extends DialogBox {

View File

@ -33,8 +33,8 @@ import com.google.gwt.user.client.ui.VerticalPanel;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class AreaSelectionDialog extends DialogBox implements public class AreaSelectionDialog extends DialogBox implements

View File

@ -5,8 +5,8 @@ import java.util.List;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public enum GeometryType { public enum GeometryType {
@ -15,7 +15,8 @@ public enum GeometryType {
"Pentagon"), Hexagon("Hexagon"), Box("Box"), None("None"); "Pentagon"), Hexagon("Hexagon"), Box("Box"), None("None");
/** /**
* @param text *
* @param label label
*/ */
private GeometryType(final String label) { private GeometryType(final String label) {
this.label = label; this.label = label;
@ -38,8 +39,8 @@ public enum GeometryType {
/** /**
* *
* @param label * @param label label
* @return * @return geometry type
*/ */
public static GeometryType getFromLabel(String label) { public static GeometryType getFromLabel(String label) {
if (label == null || label.isEmpty()) if (label == null || label.isEmpty())

View File

@ -6,14 +6,15 @@ import java.util.List;
/** /**
* *
* @author Giancarlo Panichi * @author Giancarlo Panichi
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public enum OpenLayerFormatType { public enum OpenLayerFormatType {
GML("GML"), GeoJSON("GeoJSON"), WKT("WKT"); GML("GML"), GeoJSON("GeoJSON"), WKT("WKT");
/** /**
* @param text *
* @param label label
*/ */
private OpenLayerFormatType(final String label) { private OpenLayerFormatType(final String label) {
this.label = label; this.label = label;
@ -36,8 +37,8 @@ public enum OpenLayerFormatType {
/** /**
* *
* @param label * @param label label
* @return * @return open layer format type
*/ */
public static OpenLayerFormatType getFromLabel(String label) { public static OpenLayerFormatType getFromLabel(String label) {
if (label == null || label.isEmpty()) if (label == null || label.isEmpty())

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.widgets.openlayerbasicwidgets.shared;
/** /**
* *
* @author Giancarlo Panichi * @author Giancarlo Panichi
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class Constants { public class Constants {

View File

@ -8,8 +8,8 @@ import org.slf4j.LoggerFactory;
/** /**
* *
* @author Giancarlo Panichi email: <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class GitHubConnectorTest extends TestCase { public class GitHubConnectorTest extends TestCase {