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"?>
<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>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</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">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</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">
<attributes>
<attribute name="maven.pomderived" value="true"/>
@ -25,5 +33,5 @@
</attributes>
</classpathentry>
<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>

View File

@ -1,4 +1,8 @@
<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"
date="2016-12-01">
<Change>Updated to support EPSG 4326</Change>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,8 +11,8 @@ import com.google.gwt.user.client.ui.HTML;
/**
*
* @author Giancarlo Panichi email: <a
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
* @author Giancarlo Panichi
*
*
*/
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
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
* @author Giancarlo Panichi
*
*
*/
public class GWTMessages {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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