<?xml version="1.0" encoding="UTF-8"?>
<pmd-cpd>
<duplication lines="21" tokens="101">
<file line="82" path="/Users/olamy/dev/sources/maven/maven-sandbox/plugins/maven-patch-tracker-plugin/src/main/java/org/apache/maven/plugins/patchtracker/tracking/jira/JiraPatchTracker.java"/>
<file line="121" path="/Users/olamy/dev/sources/maven/maven-sandbox/plugins/maven-patch-tracker-plugin/src/main/java/org/apache/maven/plugins/patchtracker/tracking/jira/JiraPatchTracker.java"/>
<codefragment>
<![CDATA[
            jiraSession.addCommentToIssue( remoteIssue.getKey(), patchTrackerRequest.getDescription() );

            return new PatchTrackerResult().setPatchId( remoteIssue.getKey() ).setPatchUrl(
                extractBaseUrl( patchTrackerRequest.getUrl() ) + "/browse/" + remoteIssue.getKey() );

        }
        catch ( RemoteAuthenticationException e )
        {
            throw new PatchTrackerException( e.getMessage(), e );
        }
        catch ( RemoteException e )
        {
            throw new PatchTrackerException( e.getMessage(), e );
        }
        catch ( java.rmi.RemoteException e )
        {
            throw new PatchTrackerException( e.getMessage(), e );
        }
    }

    public JiraSession createSession( PatchTrackerRequest patchTrackerRequest, Log log )
]]>
</codefragment>
</duplication>
</pmd-cpd>