Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Hudson-ci/Planning/Library Cleanup"

(JavaBeans Activation Framework)
Line 19: Line 19:
 
=== Diffs  ===
 
=== Diffs  ===
  
By package / source file:
+
By package / source file:  
 
+
Strikethrough indicates no significant diffs apart from comments / copyright. Bold used to indicate code change within a statement.
+
  
 +
Strikethrough indicates no significant diffs apart from comments / copyright. Bold used to indicate code change within a statement.
  
 +
<br>
  
 
{| width="100%" border="1" cellpadding="1" cellspacing="1" summary="Codebase Diffs"
 
{| width="100%" border="1" cellpadding="1" cellspacing="1" summary="Codebase Diffs"
 
|-
 
|-
| Package
+
| Package  
| Class
+
| Class  
| Diff
+
| Diff  
| Function
+
| Function  
| Origional (1.1 JAF)
+
| Origional (1.1 JAF)  
 
| Hudson
 
| Hudson
 
|-
 
|-
| com.sun.<br>activation.registries
+
| com.sun.<br>activation.registries  
| <strike>LogSupport.java</strike>
+
| <strike>LogSupport.java</strike>  
 
|  
 
|  
 
|  
 
|  
Line 42: Line 42:
 
|-
 
|-
 
|  
 
|  
| MailcapFile.java
+
| MailcapFile.java  
| 1
+
| 1  
| public String[] getNativeCommands(String mime_type)
+
| public String[] getNativeCommands(String mime_type)  
| List v = (List)native_commands.get(<br>mime_type.toLowerCase());
+
| List v = (List)native_commands.get(<br>mime_type.toLowerCase());  
 
| List v =<br> (List)native_commands.get(<br>mime_type.toLowerCase('''Locale.ENGLISH'''));
 
| List v =<br> (List)native_commands.get(<br>mime_type.toLowerCase('''Locale.ENGLISH'''));
 
|-
 
|-
 
|  
 
|  
 
|  
 
|  
| 2
+
| 2  
| protected void parseLine(String mailcapEntry)
+
| protected void parseLine(String mailcapEntry)  
| String primaryType = tokenizer.getCurrentTokenValue().toLowerCase();
+
| String primaryType = tokenizer.getCurrentTokenValue().toLowerCase();  
 
| String primaryType =<br> tokenizer.getCurrentTokenValue().toLowerCase('''Locale.ENGLISH''');
 
| String primaryType =<br> tokenizer.getCurrentTokenValue().toLowerCase('''Locale.ENGLISH''');
 
|-
 
|-
 
|  
 
|  
 
|  
 
|  
| 3
+
| 3  
 
|  
 
|  
| subType = tokenizer.getCurrentTokenValue().toLowerCase();
+
| subType = tokenizer.getCurrentTokenValue().toLowerCase();  
 
| subType =<br> tokenizer.getCurrentTokenValue().toLowerCase('''Locale.ENGLISH''');
 
| subType =<br> tokenizer.getCurrentTokenValue().toLowerCase('''Locale.ENGLISH''');
 
|-
 
|-
Line 66: Line 66:
 
|  
 
|  
 
|  
 
|  
| String paramName =<br> tokenizer.getCurrentTokenValue().toLowerCase();
+
| String paramName =<br> tokenizer.getCurrentTokenValue().toLowerCase();  
 
| String paramName = tokenizer.getCurrentTokenValue().<br> toLowerCase('''Locale.ENGLISH''');
 
| String paramName = tokenizer.getCurrentTokenValue().<br> toLowerCase('''Locale.ENGLISH''');
 
|-
 
|-
 
|  
 
|  
|  
+
| <strike>MailcapParseException.java</strike>
 
|  
 
|  
 
|  
 
|  
Line 77: Line 77:
 
|-
 
|-
 
|  
 
|  
|  
+
| MailcapTokenizer.java
|  
+
| 1
|  
+
| public void setAutoquoteChar(char value)
|  
+
| <br>
|  
+
| Function Not Present
 
|-
 
|-
 
|  
 
|  

Revision as of 05:06, 29 November 2011

Hudson Continuous Integration Server
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source
Hudson-bust.png Library Cleanup Project











Introduction

One of the major problems with the original Hudson code-base was the use of several of forked / patched 3rd party libraries. It's in no-one's interest to have to maintain separate code-bases in these cases and so we need to look at contributing any patches back to the original projects and removing the dependency on the patched versions This page tracks the libraries that we need to concentrate on as part of this process

JavaBeans Activation Framework

Hudson uses a patched version of activation.jar derived from git://github.com/kohsuke/javax.activation.git

The home of the base project is now the GlassFish Project: https://svn.java.net/svn/glassfish~svn/trunk/external/modules/activation

Tracking

This project is related to CQ: 5774

This project is tracked by BugZilla: 364988

Diffs

By package / source file:

Strikethrough indicates no significant diffs apart from comments / copyright. Bold used to indicate code change within a statement.


Package Class Diff Function Origional (1.1 JAF) Hudson
com.sun.
activation.registries
LogSupport.java
MailcapFile.java 1 public String[] getNativeCommands(String mime_type) List v = (List)native_commands.get(
mime_type.toLowerCase());
List v =
(List)native_commands.get(
mime_type.toLowerCase(Locale.ENGLISH));
2 protected void parseLine(String mailcapEntry) String primaryType = tokenizer.getCurrentTokenValue().toLowerCase(); String primaryType =
tokenizer.getCurrentTokenValue().toLowerCase(Locale.ENGLISH);
3 subType = tokenizer.getCurrentTokenValue().toLowerCase(); subType =
tokenizer.getCurrentTokenValue().toLowerCase(Locale.ENGLISH);
String paramName =
tokenizer.getCurrentTokenValue().toLowerCase();
String paramName = tokenizer.getCurrentTokenValue().
toLowerCase(Locale.ENGLISH);
MailcapParseException.java
MailcapTokenizer.java 1 public void setAutoquoteChar(char value)
Function Not Present

Xstream XML Parser

Husdon uses a patched version of xstream:

The home of the base project is on Codehaus: http://svn.codehaus.org/xstream/trunk/

Tracking

This project is related to CQ: 5771

This project is tracked by BugZilla:

Diffs

The issues tracking the diffs on Codehaus are: http://jira.codehaus.org/browse/XSTR-676 http://jira.codehaus.org/browse/XSTR-675 http://jira.codehaus.org/browse/XSTR-674

Copyright © Eclipse Foundation, Inc. All Rights Reserved.