ICEfaces
  1. ICEfaces
  2. ICE-11081

Clean up commented out Annotation code from Mobile Showcase bean classes

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 4.1 Mobile Showcase samples.
    • Assignee Priority:
      P2
    • Affects:
      Sample App./Tutorial

      Description

      When the Showcase sample was refactored for 4.1 to remove the use of annotations it appears that in the Mobile Showcase demo beans classes the code was only commented out and not removed completely.

      This JIRA is to remove the commented out dead code from the bean classes found under: icefaces\samples\showcase\showcase\src\main\java\org\icefaces\samples\showcase\example\mobi\*

        Activity

        Ken Fyten created issue -
        Hide
        Ken Fyten added a comment -

        Example of the offending commented code taken from the showcase\example\mobi\scan\QrCodeBean.java class:

        //import org.icemobile.samples.mobileshowcase.view.metadata.annotation.*;
        //import org.icemobile.samples.mobileshowcase.view.metadata.context.ExampleImpl;
        
        /*
        @Destination(
                title = "example.layout.dataview.destination.title.short",
                titleExt = "example.layout.dataview.destination.title.long",
                titleBack = "example.layout.dataview.destination.title.back"
        )
        @Example(
                descriptionPath = "/WEB-INF/includes/examples/layout/dataview-desc.xhtml",
                examplePath = "/WEB-INF/includes/examples/layout/dataview-example.xhtml",
                resourcesPath  = "/WEB-INF/includes/examples/example-resources.xhtml"
        )
        @ExampleResources(
                resources = {
                        // xhtml
                        @ExampleResource(type = ResourceType.xhtml,
                                         title = "dataview-example.xhtml",
                                         resource = "/WEB-INF/includes/examples/layout/dataview-example.xhtml"),
                        // Java Source
                        @ExampleResource(type = ResourceType.java,
                                         title = "DataViewBean.java",
                                         resource = "/WEB-INF/classes/org/icemobile/samples/mobileshowcase" +
                                                 "/view/examples/layout/dataview/DataViewBean.java")
                }
        )*/
        
        Show
        Ken Fyten added a comment - Example of the offending commented code taken from the showcase\example\mobi\scan\QrCodeBean.java class: // import org.icemobile.samples.mobileshowcase.view.metadata.annotation.*; // import org.icemobile.samples.mobileshowcase.view.metadata.context.ExampleImpl; /* @Destination( title = "example.layout.dataview.destination.title. short " , titleExt = "example.layout.dataview.destination.title. long " , titleBack = "example.layout.dataview.destination.title.back" ) @Example( descriptionPath = "/WEB-INF/includes/examples/layout/dataview-desc.xhtml" , examplePath = "/WEB-INF/includes/examples/layout/dataview-example.xhtml" , resourcesPath = "/WEB-INF/includes/examples/example-resources.xhtml" ) @ExampleResources( resources = { // xhtml @ExampleResource(type = ResourceType.xhtml, title = "dataview-example.xhtml" , resource = "/WEB-INF/includes/examples/layout/dataview-example.xhtml" ), // Java Source @ExampleResource(type = ResourceType.java, title = "DataViewBean.java" , resource = "/WEB-INF/classes/org/icemobile/samples/mobileshowcase" + "/view/examples/layout/dataview/DataViewBean.java" ) } )*/
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Judy Guglielmin [ judy.guglielmin ]
        Fix Version/s EE-4.1.1.BETA [ 13079 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Affects Sample App./Tutorial [ 10001 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Judy Guglielmin added a comment -

        rev 48986

        Show
        Judy Guglielmin added a comment - rev 48986
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48986 Fri Jun 24 16:59:43 MDT 2016 judy.guglielmin ICE-11081
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/fetchcontact/ContactsBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/dataview/DataViewBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/geolocation/GeoLocationBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/datespinner/DateBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/scan/QrCodeBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/viewsize/ViewSizeBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/microphone/MicrophoneBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/camcorder/CamcorderBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/camera/CameraBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/flipswitch/FlipSwitchBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/outputlist/ListBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/fieldset/FieldsetBean.java
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Fix Version/s 4.2 [ 12870 ]
        Fix Version/s EE-4.1.1.BETA [ 13079 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: