[jira] [Updated] (FUNCTOR-4) [PATCH] Add easily accessible, user-friendly examples
[ https://issues.apache.org/jira/browse/FUNCTOR-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-4: - Summary: [PATCH] Add easily accessible, user-friendly examples (was: Add easily accessible, user-friendly examples) > [PATCH] Add easily accessible, user-friendly examples > - > > Key: FUNCTOR-4 > URL: https://issues.apache.org/jira/browse/FUNCTOR-4 > Project: Commons Functor > Issue Type: Improvement >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-4.patch > > > Perhaps we could add some pages with examples to the project site? > As pointed by Emmanuel Bourg, at moment the examples point directly to > classes in the SVN. We could add some basic examples and also point to > sample code in the SVN, something similar to what is done in DBUtils [1] and > Commons-Pool [2]. > I'm reading FP for Java Developers, there are some basic examples that could > be implemented using Functor and put in the Examples page (I believe grand > part is already implemented in the tests classes). > [1] http://commons.apache.org/dbutils/examples.html > [2] http://commons.apache.org/pool/examples.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-15) [PATCH] Distribute tests from TestAlgorithms into several test classes under algorithm test package
[ https://issues.apache.org/jira/browse/FUNCTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-15: -- Summary: [PATCH] Distribute tests from TestAlgorithms into several test classes under algorithm test package (was: [patch] Distribute tests from TestAlgorithms into several test classes under algorithm test package) > [PATCH] Distribute tests from TestAlgorithms into several test classes under > algorithm test package > --- > > Key: FUNCTOR-15 > URL: https://issues.apache.org/jira/browse/FUNCTOR-15 > Project: Commons Functor > Issue Type: Improvement > Environment: debian lenny, eclipse indigo, sun java 6 >Reporter: Bruno P. Kinoshita >Priority: Minor > Labels: testing > Attachments: FUNCTOR-15.patch > > > Several algorithms are tested in o.a.c.functor.TestAlgorithms. This test > class has too many methods, and this way it's harder to include new tests or > manage existing ones. We will create separate test classes for each algorithm > under o.a.c.functor.algorithm, and will include generics too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-15) [patch] Distribute tests from TestAlgorithms into several test classes under algorithm test package
[ https://issues.apache.org/jira/browse/FUNCTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-15: -- Summary: [patch] Distribute tests from TestAlgorithms into several test classes under algorithm test package (was: Distribute tests from TestAlgorithms into several test classes under algorithm test package) > [patch] Distribute tests from TestAlgorithms into several test classes under > algorithm test package > --- > > Key: FUNCTOR-15 > URL: https://issues.apache.org/jira/browse/FUNCTOR-15 > Project: Commons Functor > Issue Type: Improvement > Environment: debian lenny, eclipse indigo, sun java 6 >Reporter: Bruno P. Kinoshita >Priority: Minor > Labels: testing > Attachments: FUNCTOR-15.patch > > > Several algorithms are tested in o.a.c.functor.TestAlgorithms. This test > class has too many methods, and this way it's harder to include new tests or > manage existing ones. We will create separate test classes for each algorithm > under o.a.c.functor.algorithm, and will include generics too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-15) Distribute tests from TestAlgorithms into several test classes under algorithm test package
[ https://issues.apache.org/jira/browse/FUNCTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-15: -- Attachment: FUNCTOR-15.patch Patch with tests for algorithms. This patch also includes toString() methods in algorithms. Some algorithms needed the toString() to pass the tests (BaseFunctorTest). I implemented toString() in all algorithms to keep the same behavior regarding toString() in all algorithms. I reviewed the license headers, checkstyle issues and general formatting :-) Hope this patch is good. Thanks > Distribute tests from TestAlgorithms into several test classes under > algorithm test package > --- > > Key: FUNCTOR-15 > URL: https://issues.apache.org/jira/browse/FUNCTOR-15 > Project: Commons Functor > Issue Type: Improvement > Environment: debian lenny, eclipse indigo, sun java 6 >Reporter: Bruno P. Kinoshita >Priority: Minor > Labels: testing > Attachments: FUNCTOR-15.patch > > > Several algorithms are tested in o.a.c.functor.TestAlgorithms. This test > class has too many methods, and this way it's harder to include new tests or > manage existing ones. We will create separate test classes for each algorithm > under o.a.c.functor.algorithm, and will include generics too. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-4) Add easily accessible, user-friendly examples
[ https://issues.apache.org/jira/browse/FUNCTOR-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-4: - Attachment: FUNCTOR-4.patch Added a patch with some examples for review. Thanks, Bruno P. Kinoshita > Add easily accessible, user-friendly examples > - > > Key: FUNCTOR-4 > URL: https://issues.apache.org/jira/browse/FUNCTOR-4 > Project: Commons Functor > Issue Type: Improvement >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-4.patch > > > Perhaps we could add some pages with examples to the project site? > As pointed by Emmanuel Bourg, at moment the examples point directly to > classes in the SVN. We could add some basic examples and also point to > sample code in the SVN, something similar to what is done in DBUtils [1] and > Commons-Pool [2]. > I'm reading FP for Java Developers, there are some basic examples that could > be implemented using Functor and put in the Examples page (I believe grand > part is already implemented in the tests classes). > [1] http://commons.apache.org/dbutils/examples.html > [2] http://commons.apache.org/pool/examples.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-9) [PATCH] Make Limit and Offset Serializable
[ https://issues.apache.org/jira/browse/FUNCTOR-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-9: - Attachment: FUNCTOR-9.patch > [PATCH] Make Limit and Offset Serializable > -- > > Key: FUNCTOR-9 > URL: https://issues.apache.org/jira/browse/FUNCTOR-9 > Project: Commons Functor > Issue Type: Improvement > Environment: Win7 Enterprise, jdk-1.6.0_27, Eclipse Galileo >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-9.patch > > > In org.apache.commons.functor.core all classes that are in someway a Functor > implement Serializable, with exception of Limit and Offset (as pointed by E. > Bourg in the mailing list). This patch marks both classes as Serializable and > includes equals() and hashcode() methods. > Notice that these changes are already covered by the test > org.apache.commons.functor.BaseFunctorTest#testSerializeDeserializeThenCompare. > > Bruno P. Kinoshita -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-8) [PATCH] Possible NPE in TransformedGenerator if getWrappedGenerator() is overridden to return null
[ https://issues.apache.org/jira/browse/FUNCTOR-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-8: - Attachment: FUNCTOR-8-tests.patch FUNCTOR-8-tests.patch includes a unit test for FUNCTOR-8.patch. I attached a separated file for part of this class is also contained in FUNCTOR-7.patch, so it may help while committing it if FUNCTOR-7 has already been applied. > [PATCH] Possible NPE in TransformedGenerator if getWrappedGenerator() is > overridden to return null > -- > > Key: FUNCTOR-8 > URL: https://issues.apache.org/jira/browse/FUNCTOR-8 > Project: Commons Functor > Issue Type: Bug > Environment: ubuntu 11.10, sun-jdk-6, eclipse galileo >Reporter: Bruno P. Kinoshita > Attachments: FUNCTOR-8-tests.patch, FUNCTOR-8.patch > > > If we override getWrappedGenerator method in TransformedGenerator to return > null, it may result in a NullPointerException if hashCode is called. > Attached the patch for it, and below a snippet of code to reproduce this > issue. > TransformedGenerator t = new > TransformedGenerator( > new IntegerRange(1, 10), new UnaryFunction() { > public Integer evaluate(Integer obj) { > return obj += 1; > } > }) { > @Override > protected Generator getWrappedGenerator() { > return null; > } > }; > TransformedGenerator t2 = new > TransformedGenerator( > new IntegerRange(1, 10), new UnaryFunction() { > public Integer evaluate(Integer obj) { > return obj -= 1; > } > }); > System.out.println(t.equals(t2)); > System.out.println(t.hashCode() == t2.hashCode()); // NPE > Cheers, > Bruno P. Kinoshita -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-8) [PATCH] Possible NPE in TransformedGenerator if getWrappedGenerator() is overridden to return null
[ https://issues.apache.org/jira/browse/FUNCTOR-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-8: - Attachment: FUNCTOR-8.patch A fix for the NPE in TransformedGenerator. > [PATCH] Possible NPE in TransformedGenerator if getWrappedGenerator() is > overridden to return null > -- > > Key: FUNCTOR-8 > URL: https://issues.apache.org/jira/browse/FUNCTOR-8 > Project: Commons Functor > Issue Type: Bug > Environment: ubuntu 11.10, sun-jdk-6, eclipse galileo >Reporter: Bruno P. Kinoshita > Attachments: FUNCTOR-8.patch > > > If we override getWrappedGenerator method in TransformedGenerator to return > null, it may result in a NullPointerException if hashCode is called. > Attached the patch for it, and below a snippet of code to reproduce this > issue. > TransformedGenerator t = new > TransformedGenerator( > new IntegerRange(1, 10), new UnaryFunction() { > public Integer evaluate(Integer obj) { > return obj += 1; > } > }) { > @Override > protected Generator getWrappedGenerator() { > return null; > } > }; > TransformedGenerator t2 = new > TransformedGenerator( > new IntegerRange(1, 10), new UnaryFunction() { > public Integer evaluate(Integer obj) { > return obj -= 1; > } > }); > System.out.println(t.equals(t2)); > System.out.println(t.hashCode() == t2.hashCode()); // NPE > Cheers, > Bruno P. Kinoshita -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-7) [PATCH] Tests for generators
[ https://issues.apache.org/jira/browse/FUNCTOR-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-7: - Attachment: FUNCTOR-7.patch Patch with the tests for generators. > [PATCH] Tests for generators > > > Key: FUNCTOR-7 > URL: https://issues.apache.org/jira/browse/FUNCTOR-7 > Project: Commons Functor > Issue Type: Improvement > Environment: Ubuntu 11.10, sun-jdk-6, Eclipse Galileo >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-7.patch > > > Hi, attached are some tests for all generators. > I am studying Functor/FP by writing tests and reading the existing ones, as > well as the examples. I will submit more patches in the following days :) > While writing these tests I've found some strange situations. I will analyze > them thoroughly and will file issue(s) when appropriate. > TIA, > Bruno P. Kinoshita -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-6) Make Limit and Offset implement Serializable
[ https://issues.apache.org/jira/browse/FUNCTOR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-6: - Attachment: (was: FUNCTOR-6.patch) > Make Limit and Offset implement Serializable > > > Key: FUNCTOR-6 > URL: https://issues.apache.org/jira/browse/FUNCTOR-6 > Project: Commons Functor > Issue Type: Bug >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-6.patch > > > This was another one of the items pointed by Emmanuel, regarding 1.0 release. > In org.apache.commons.functor.core, there are Functors, and LeftIdentify and > RightIdentify (Holder classes for Functors). > Among the Functors in this package, all of them implement Serializable, with > exception of Limit and Offset. > Aren't these classes supposed to be Serializable too? > Cheers -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-6) Make Limit and Offset implement Serializable
[ https://issues.apache.org/jira/browse/FUNCTOR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-6: - Attachment: FUNCTOR-6.patch Attach you will find a patch that makes Limit and Offset implement Serializable. The serialVersionUID field was added too with the generated value. > Make Limit and Offset implement Serializable > > > Key: FUNCTOR-6 > URL: https://issues.apache.org/jira/browse/FUNCTOR-6 > Project: Commons Functor > Issue Type: Bug >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-6.patch > > > This was another one of the items pointed by Emmanuel, regarding 1.0 release. > In org.apache.commons.functor.core, there are Functors, and LeftIdentify and > RightIdentify (Holder classes for Functors). > Among the Functors in this package, all of them implement Serializable, with > exception of Limit and Offset. > Aren't these classes supposed to be Serializable too? > Cheers -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-6) Make Limit and Offset implement Serializable
[ https://issues.apache.org/jira/browse/FUNCTOR-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-6: - Attachment: FUNCTOR-6.patch Attached you will find a patch which makes Limit and Offset implement Serializable. > Make Limit and Offset implement Serializable > > > Key: FUNCTOR-6 > URL: https://issues.apache.org/jira/browse/FUNCTOR-6 > Project: Commons Functor > Issue Type: Bug >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-6.patch > > > This was another one of the items pointed by Emmanuel, regarding 1.0 release. > In org.apache.commons.functor.core, there are Functors, and LeftIdentify and > RightIdentify (Holder classes for Functors). > Among the Functors in this package, all of them implement Serializable, with > exception of Limit and Offset. > Aren't these classes supposed to be Serializable too? > Cheers -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-5) Complete the javadoc description of Limit
[ https://issues.apache.org/jira/browse/FUNCTOR-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-5: - Attachment: FUNCTOR-5.patch The patch attached contains a change in Limit to complete its javadoc description. > Complete the javadoc description of Limit > - > > Key: FUNCTOR-5 > URL: https://issues.apache.org/jira/browse/FUNCTOR-5 > Project: Commons Functor > Issue Type: Task >Reporter: Bruno P. Kinoshita >Priority: Trivial > Attachments: FUNCTOR-5.patch > > > As pointed by Emmanuel, the class Limit's javadoc says: > "A predicate that returns true the first n times it is invoked." > While Offset's javadoc says: > "A predicate that returns false the first n times it is invoked, and true > thereafter." > The description of Limit could be updated to match with Offset. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-3) Reduce the use of raw types in the test classes
[ https://issues.apache.org/jira/browse/FUNCTOR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-3: - Attachment: FUNCTOR-3.patch Attached you will find a patch for this issue. There were "rawtypes" suppression annotations in classes (not test classes) that were removed. There may have better ways of dealing with generics rather than the way I implemented. Could somebody with karma and more skill than me review it, please? :-) Perhaps it could be used as a base for this issue. Thank you! Bruno P. Kinoshita > Reduce the use of raw types in the test classes > --- > > Key: FUNCTOR-3 > URL: https://issues.apache.org/jira/browse/FUNCTOR-3 > Project: Commons Functor > Issue Type: Task >Reporter: Bruno P. Kinoshita >Priority: Minor > Attachments: FUNCTOR-3.patch > > > The test classes in functor have several raw types, which could lead to > runtime errors and make the tests harder to understand. > It was pointed by sebb in the mailing list during a call for votes to release > functor 1.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-2) [functor] Improve Functor web page, removing Ant from building
[ https://issues.apache.org/jira/browse/FUNCTOR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-2: - Attachment: examples.patch building.patch Patches > [functor] Improve Functor web page, removing Ant from building > -- > > Key: FUNCTOR-2 > URL: https://issues.apache.org/jira/browse/FUNCTOR-2 > Project: Commons Functor > Issue Type: Improvement > Environment: Ubuntu 11.10 > Firefox 4 > Sun JDK 1.6 >Reporter: Bruno P. Kinoshita >Assignee: Phil Steitz >Priority: Trivial > Attachments: building.patch, examples.patch > > > Hi all! > The Functor homepage (in SVN trunk) for building the project is a bit out of > date regarding maven and ant. I couldn't follow the maven instructions (it > mentioned Maven 1 -g option, and non-existent ant build properties). > I'm also following the examples in the website, I will revise them during > this weekend, but if someone thinks adding the examples of FUNCTOR- would be > helpful, I could try helping. Could someone with karma please review if these > changes are correct? > BR, > Bruno -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-2) [functor] Improve Functor web page, removing Ant from building
[ https://issues.apache.org/jira/browse/FUNCTOR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-2: - Description: Hi all! The Functor homepage (in SVN trunk) for building the project is a bit out of date regarding maven and ant. I couldn't follow the maven instructions (it mentioned Maven 1 -g option, and non-existent ant build properties). I'm also following the examples in the website, I will revise them during this weekend, but if someone thinks adding the examples of FUNCTOR- would be helpful, I could try helping. Could someone with karma please review if these changes are correct? BR, Bruno was: Hi all! The Functor homepage for building in SVN trunk is a bit out of date regarding maven and ant. I couldn't follow the maven instructions (it was mentioning Maven 1 -g option, and non-existent ant build properties). I'm also following the examples in the website, I will revise them during this weekend, but if someone thinks adding the examples of FUNCTOR-1, I could try helping. Could someone with karma please review if these changes or ok? BR, Bruno > [functor] Improve Functor web page, removing Ant from building > -- > > Key: FUNCTOR-2 > URL: https://issues.apache.org/jira/browse/FUNCTOR-2 > Project: Commons Functor > Issue Type: Improvement > Environment: Ubuntu 11.10 > Firefox 4 > Sun JDK 1.6 >Reporter: Bruno P. Kinoshita >Assignee: Phil Steitz >Priority: Trivial > > Hi all! > The Functor homepage (in SVN trunk) for building the project is a bit out of > date regarding maven and ant. I couldn't follow the maven instructions (it > mentioned Maven 1 -g option, and non-existent ant build properties). > I'm also following the examples in the website, I will revise them during > this weekend, but if someone thinks adding the examples of FUNCTOR- would be > helpful, I could try helping. Could someone with karma please review if these > changes are correct? > BR, > Bruno -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FUNCTOR-2) [functor] Improve Functor web page, removing Ant from building
[ https://issues.apache.org/jira/browse/FUNCTOR-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated FUNCTOR-2: - Description: Hi all! The Functor homepage for building in SVN trunk is a bit out of date regarding maven and ant. I couldn't follow the maven instructions (it was mentioning Maven 1 -g option, and non-existent ant build properties). I'm also following the examples in the website, I will revise them during this weekend, but if someone thinks adding the examples of FUNCTOR-1, I could try helping. Could someone with karma please review if these changes or ok? BR, Bruno was: Hi all!filha The Functor homepage for building in SVN trunk is a bit out of date regarding maven and ant. I couldn't follow the maven instructions (it was mentioning Maven 1 -g option, and non-existent ant build properties). I'm also following the examples in the website, I will revise them during this weekend, but if someone thinks adding the examples of FUNCTOR-1, I could try helping. Could someone with karma please review if these changes or ok? BR, Bruno > [functor] Improve Functor web page, removing Ant from building > -- > > Key: FUNCTOR-2 > URL: https://issues.apache.org/jira/browse/FUNCTOR-2 > Project: Commons Functor > Issue Type: Improvement > Environment: Ubuntu 11.10 > Firefox 4 > Sun JDK 1.6 >Reporter: Bruno P. Kinoshita >Assignee: Phil Steitz >Priority: Trivial > > Hi all! > The Functor homepage for building in SVN trunk is a bit out of date regarding > maven and ant. I couldn't follow the maven instructions (it was mentioning > Maven 1 -g option, and non-existent ant build properties). > I'm also following the examples in the website, I will revise them during > this weekend, but if someone thinks adding the examples of FUNCTOR-1, I could > try helping. Could someone with karma please review if these changes or ok? > BR, > Bruno -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LANG-758) Add an example with whitespace in StringUtils.defaultIfEmpty
[ https://issues.apache.org/jira/browse/LANG-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno P. Kinoshita updated LANG-758: Attachment: stringutils_doc_patch.txt Patch with Javadoc example > Add an example with whitespace in StringUtils.defaultIfEmpty > > > Key: LANG-758 > URL: https://issues.apache.org/jira/browse/LANG-758 > Project: Commons Lang > Issue Type: Improvement > Components: lang.* >Reporter: Bruno P. Kinoshita >Priority: Trivial > Attachments: stringutils_doc_patch.txt > > > Hi there. > Today I needed to use a method to return a default value if certain string > was not given. > I used the old "Eclipse CTRL+Space" trick and looked up in the StringUtils > API javadoc for an example that suited my need :) > I noticed that StringUtils.defaultIfEmpty missed an example with whitespace > (like in StringUtils.defaultIfEmpty), and created a patch for it. The > description in the Javadoc is very good, but my laziness asks for an example > with whitespace ;) > Cheers, > Bruno P. Kinoshita -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira