CPD Results

The following document contains the results of PMD's CPD 3.7.

Duplications

FileLine
net/sf/ginp/tags/NavFilmStrip.java98
net/sf/ginp/tags/NavFilmStrip.java195
                pic = new Picture(collAbsPath, model.getCollection().getPicture(count));

                // Set Picture Attributes
                pageContext.setAttribute("filename", pic.getFileName());
                pageContext.setAttribute("date", pic.getDate(dateformatpattern, model.getLocale()));
                pageContext.setAttribute("time", pic.getTime());
                pageContext.setAttribute("number", "" + (count + 1));
                pageContext.setAttribute("title", pic.getTitle());
                pageContext.setAttribute("description", pic.getDescription(model.getLocale()));

                pageContext.setAttribute("link", "ginpservlet?cmd=showpicture&colid="
                         + model.getCurrCollectionId() + "&path="
                         + model.getCollection().getPath() + "&name="
                         + model.getCollection().getPicture(count));
                pageContext.setAttribute("src", ((HttpServletRequest) pageContext.getRequest()).getContextPath()
                         + "/ginppic?name=" + model.getCollection().getPicture(count)
                         + "&maxsize=" + Configuration.getFilmStripThumbSize());

FileLine
net/sf/ginp/tags/GetPictures.java257
net/sf/ginp/tags/NavFilmStrip.java98
            pic = new Picture(collAbsPath, model.getCollection().getPicture(count));

            // Set Picture Attributes
            pageContext.setAttribute("filename", pic.getFileName());
            pageContext.setAttribute("date", pic.getDate(dateformatpattern, model.getLocale()));
            pageContext.setAttribute("time", pic.getTime());
            pageContext.setAttribute("number", "" + (count + 1));
            pageContext.setAttribute("title", pic.getTitle());
            pageContext.setAttribute("description", pic.getDescription(model.getLocale()));

            pageContext.setAttribute("link",
                    "ginpservlet?cmd=showpicture&colid="
                     + model.getCurrCollectionId() + "&path="
                     + model.getCollection().getPath() + "&name="
                     + model.getCollection().getPicture(count));

            pageContext.setAttribute("src",
                    ((HttpServletRequest) pageContext.getRequest()).getContextPath()
                     + "/ginppic?name=" + model.getCollection().getPicture(count)