> On Jul 3, 2017, at 5:08 PM, James Bognar <jamesbog...@apache.org> wrote: > > Hrm...that sort of complicates the example. > > Here's the example code that creates an Atom feed DTO with a copyright... > File file = new File("fileName"); Charset charset = Charset.forName("utf-8"); // read the copyright notice from the file into the copyrightNotice string String copyrightNotice = org.apache.commons.io.FileUtils.readFileToString(file, charset);
> Feed f = new Feed() > ... > .rights(copyrightNotice); > ... > > > How about just "Copyright (c) ..."? My understanding of the problem is that RAT reports that there is a copyright notice in the code. Craig > > > On Mon, Jul 3, 2017 at 8:02 PM, Craig Russell <apache....@gmail.com> wrote: > >> Hi James, >> >> Instead of including "Copyright (c) 2001, Apache Foobar Foundation" in the >> sample code, would it be possible/easy to "assume the copyright notice is >> in a file and include the file contents here". >> >> That is probably how you would want to do it anyway, considering the task >> of updating copyright years should be limited to one file per distribution >> in downstream users, similar to the single copyright notice that an Apache >> project has in its distribution. >> >> Craig >> >>> On Jul 3, 2017, at 2:37 PM, James Bognar <jamesbog...@apache.org> wrote: >>> >>> Need some quick guidance. >>> >>> On the release vote for Juneau 6.3.0, Justin Mclean made this note... >>> "There's a number of "Copyright (c) 2016, Apache Foundation” in the >>> documentation you may want to update the year." >>> >>> I tracked it down to sample code where the copyright statement itself was >>> sample code. (i.e. showing how to create an ATOM feed with an embedded >>> copyright statement). >>> >>> Can I change it to the following so that it's not flagged in the future? >>> >>> "Copyright (c) 2001, Apache Foobar Foundation” >>> >>> Or better ideas? >> >> Craig L Russell >> Secretary, Apache Software Foundation >> c...@apache.org http://db.apache.org/jdo >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org >> For additional commands, e-mail: general-h...@incubator.apache.org >> >> Craig L Russell Secretary, Apache Software Foundation c...@apache.org http://db.apache.org/jdo --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands, e-mail: general-h...@incubator.apache.org