[jboss-jira] [JBoss JIRA] (WFLY-11430) tasks-rs: Add to README a instruction to comment an import line

Sultan Zhantemirov (Jira) issues at jboss.org
Wed Nov 28 10:51:02 EST 2018


     [ https://issues.jboss.org/browse/WFLY-11430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sultan Zhantemirov updated WFLY-11430:
--------------------------------------
    Description: 
The issue is in _EnableJsonSupport_  Manu framework unit. The description below is no more relevant.

-Currently maven checkstyle plugin [fails|https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-quickstarts-matrix/177/QUICKSTART_NAME=tasks-rs,jdk=oracle-java-1.8,label_exp=RHEL7%20&&%20!bos/testReport/junit/org.jboss.manu.eap.quickstarts/QuickstartsMaven/tasks_rs_RunArquillianTests_mavenexitcode/] on unused import after adding JSON support to the tasks-rs quickstart-

{noformat}
tasks-rs/src/main/java/org/jboss/as/quickstarts/tasksrs/service/TaskResource.java:30:8: Unused import - javax.ws.rs.Produces. [UnusedImports]
{noformat}

-Our QE tests are fixed now, but for the customers it would be useful to have an instruction to comment the line-

{noformat}
import javax.ws.rs.Produces
{noformat}

-It would be nice to have this instruction in Modify this Quickstart to Support JSON Representations of Tasks section, step 3, Add comments to this line sentence-. 

-Thanks!-

  was:
Currently maven checkstyle plugin [fails|https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-quickstarts-matrix/177/QUICKSTART_NAME=tasks-rs,jdk=oracle-java-1.8,label_exp=RHEL7%20&&%20!bos/testReport/junit/org.jboss.manu.eap.quickstarts/QuickstartsMaven/tasks_rs_RunArquillianTests_mavenexitcode/] on unused import after adding JSON support to the tasks-rs quickstart:

{noformat}
tasks-rs/src/main/java/org/jboss/as/quickstarts/tasksrs/service/TaskResource.java:30:8: Unused import - javax.ws.rs.Produces. [UnusedImports]
{noformat}

Our QE tests are fixed now, but for the customers it would be useful to have an instruction to comment the line

{noformat}
import javax.ws.rs.Produces
{noformat}

in _tasks-rs/src/main/java/org/jboss/as/quickstarts/tasksrs/service/TaskResource.java_ file, line 30.

Ii would be nice to have this instruction in _Modify this Quickstart to Support JSON Representations of Tasks_ section, step 3, _Add comments to this line_ sentence. 

Thanks!



> tasks-rs: Add to README a instruction to comment an import line 
> ----------------------------------------------------------------
>
>                 Key: WFLY-11430
>                 URL: https://issues.jboss.org/browse/WFLY-11430
>             Project: WildFly
>          Issue Type: Bug
>          Components: Quickstarts
>            Reporter: Sande Gilda
>            Assignee: Sande Gilda
>            Priority: Major
>
> The issue is in _EnableJsonSupport_  Manu framework unit. The description below is no more relevant.
> -Currently maven checkstyle plugin [fails|https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-quickstarts-matrix/177/QUICKSTART_NAME=tasks-rs,jdk=oracle-java-1.8,label_exp=RHEL7%20&&%20!bos/testReport/junit/org.jboss.manu.eap.quickstarts/QuickstartsMaven/tasks_rs_RunArquillianTests_mavenexitcode/] on unused import after adding JSON support to the tasks-rs quickstart-
> {noformat}
> tasks-rs/src/main/java/org/jboss/as/quickstarts/tasksrs/service/TaskResource.java:30:8: Unused import - javax.ws.rs.Produces. [UnusedImports]
> {noformat}
> -Our QE tests are fixed now, but for the customers it would be useful to have an instruction to comment the line-
> {noformat}
> import javax.ws.rs.Produces
> {noformat}
> -It would be nice to have this instruction in Modify this Quickstart to Support JSON Representations of Tasks section, step 3, Add comments to this line sentence-. 
> -Thanks!-



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list