Commit graph

16 commits

Author SHA1 Message Date
mishako
20e07a97e1 Stop using java.beans package
Some platforms don't include `java.beans` package in the runtime. To
support these platforms we have to stop using classes from this package.
Replaced `java.beans.PropertyDescriptor` with an implementation copied
from OpenBeans. Also removed some unnecessary code. Haven't made any
changes in rome-fetcher because it is deprecated and will be removed in
the next major version.

Fixes #155
2016-07-09 12:43:09 +02:00
Patrick Gotthard
af93948e78 Merge pull request #304 from mishako/cleanup
Cleanup
2016-06-20 08:20:52 +02:00
mishako
f0b12ab41e Delete license header example file
License header can be copied from one of the existing files, no need
for a separate template file.
2016-06-19 18:39:33 +02:00
mishako
a6a20c3012 Remove commented out logger calls 2016-06-19 18:39:33 +02:00
mishako
ac7d9c83b5 Remove useless comments
Removed:
 * Empty comments
 * Empty @param and @return tags
 * Comments explaining how Java constructors work
 * Comments copy-pasted from parent classes
 * Comments begging to write documentation
2016-06-19 17:35:00 +02:00
mishako
c36bfd8f47 Remove @version and @author tags
Since we don't have any convention for how to use @version it's best to
avoid it completely. As for the @author tag, it is considered redundant
nowadays because this information is in the version control system.
2016-06-19 17:34:54 +02:00
mishako
6f6ff0ddd5 Remove LGPL license headers
Dual-licensing allows us to choose any of the licenses. Since the rest
of the project is licensed under the Apache license it makes sense to
remove LGPL altogether.

`CustomTagImpl.java` and `DurationTest.java` didn't have Apache license
header, but I assume they were supposed to, judging from Robert's email
from 5 Aug 2010 on the Rome dev mailing list: "Well, all those files are
things I moved from my other project. If the license headers weren't
changed, it was simply because of an oversight on my part".
2016-06-19 17:34:44 +02:00
mishako
0993a6a10c Remove license info from package.html files
We already have license headers in all java files, no need to include
it in package descriptions.
2016-06-19 17:34:19 +02:00
Patrick Gotthard
961a6407e1 Merge pull request #293 from mishako/try-catch-duration
Catch itunes duration parsing exceptions
2016-06-11 07:47:38 +02:00
mishako
943c0db298 Catch itunes duration parsing exceptions
Parsing of a malformed or empty duration resulted in an uncaught
exception that was breaking feed parsing completely. We already catch
exceptions when parsing other fields, e.g. href attribute of the image
tag. Also, it's more user-friendly to handle malformed data instead of
failing everything.
2016-06-10 21:00:01 +02:00
mishako
083a5d32d5 Combine all maven sites into one 2016-04-10 17:38:37 +02:00
gil
a090ed9b24 fix license headers 2016-03-30 01:43:42 +02:00
mishako
9aa69bf607 Merge pull request #283 from sagen/flexible_filesize
Parse units in filesizes in Media RSS
2016-03-28 23:00:04 +02:00
alesagen
9b45f200af Parse units in filesizes in Media RSS 2016-03-28 22:55:34 +02:00
ayman abdelghany
ce28559041 Utility classes should not have public constructors 2016-03-21 23:33:52 +02:00
mishako
5795d5e186 Move rome-modules files into a subdirectory 2016-02-13 18:46:25 +01:00