aspose file tools
The moose likes Beginning Java and the fly likes How to do a citation for using open source code ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "How to do a citation for using open source code ?" Watch "How to do a citation for using open source code ?" New topic
Author

How to do a citation for using open source code ?

Lexington Smith
Ranch Hand

Joined: Sep 29, 2012
Posts: 67
I use a few lines of code, say a method or two from an open source project. The methods are quite simple (5-6 lines) and not something that could be considered intellectual property.
Since the methods are quite simple, can I change the contents and say that the code is mine ? It would almost be like changing what a few print statements say, but not that simple.

If I should not, then how do I acknowledge the author when I use a bit of his code in my code ?

Thanks in advance.


Daniel Georgescu
Greenhorn

Joined: Apr 30, 2011
Posts: 5

Read the license. If it is specified that the source code can be modified/redistributed/used in non commercial intentions. You should be able to change the code you want.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 4761
    
    7

Lexington Smith wrote:The methods are quite simple (5-6 lines) and not something that could be considered intellectual property.

As I recall, QuickSort is about 10. Don't judge creativity by size.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
Winston Gutkowski wrote: . . . Don't judge creativity by size.

Winston
If creativity is related to size, that method is probably twice as creative as quick‑sort

Actually everything is intellectual property under copyright law.
Lexington Smith
Ranch Hand

Joined: Sep 29, 2012
Posts: 67
Winston Gutkowski wrote:
Lexington Smith wrote:The methods are quite simple (5-6 lines) and not something that could be considered intellectual property.

As I recall, QuickSort is about 10. Don't judge creativity by size.

Winston


Yeah, i meant the code does not really do anything like quick sort. Think of it like taking a password and logging you into an account with 5-6 lines of code.
No too great I suppose.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
I presume you have already followed Daniel Georgescu’s suggestion.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to do a citation for using open source code ?
 
Similar Threads
Open Source license ethics
What IDE Should I use?
File upload component - Cancel event
insert CSV values from file to MySQL
What does it mean for a vector to be synchronize?