aboutsummaryrefslogtreecommitdiff
path: root/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt
blob: 10ee7e89c46039283fd821bfffb539501be34927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

=============================================================================

			Commons Lang Package
			   Version 1.0
			    Release Notes


INTRODUCTION:

This document contains the release notes for this version of the Commons
Lang package. Commons Lang is a set of utility functions and reusable 
components that should be a help in any Java environment.

NEW FEATURES:

Since the release of the b1 package the following have been added:

lang.
    SystemUtils: 
      Brings together many system specific variables under one easy component.

exception.
    ExceptionUtils: 
      Provides helpful static functions for dealing with Exceptions.
    NestableError : 
      Adds nesting ability to Errors.

enum sub-package: 
    A solid version of the typical Java translation of a C enum.

builder sub-package: 
    A series of helpers for handling standard Object methods such as equals,
    toString, compareTo and hashCode in a professional manner.


BUG FIXES:

StringUtils.stripStart and stripEnd were improved to match their Javadoc. 
StringUtils.convertUnicodeToNative and convertNativeToUnicode both removed. 
    Both methods did not work properly.


DEPRECATIONS:

Much of the exception subpackage was reworked between 1.0-b1 and 1.0. Apart 
from this the API should have a high level of backward compatibility.


CHANGES:   [In 'diff' format]

Jar changes
===========
> org.apache.commons.lang.exception.ExceptionUtils
> org.apache.commons.lang.exception.NestableError
> org.apache.commons.lang.ObjectUtils$Null
> org.apache.commons.lang.ObjectUtils$1
> org.apache.commons.lang.enum.Enum$Entry
> org.apache.commons.lang.enum.Enum$1
> org.apache.commons.lang.enum.Enum
> org.apache.commons.lang.enum.EnumUtils
> org.apache.commons.lang.enum.ValuedEnum
> org.apache.commons.lang.builder.CompareToBuilder
> org.apache.commons.lang.builder.EqualsBuilder
> org.apache.commons.lang.builder.HashCodeBuilder
> org.apache.commons.lang.builder.StandardToStringStyle
> org.apache.commons.lang.builder.ToStringStyle$DefaultToStringStyle
> org.apache.commons.lang.builder.ToStringStyle$NoFieldNameToStringStyle
> org.apache.commons.lang.builder.ToStringStyle$SimpleToStringStyle
> org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle
> org.apache.commons.lang.builder.ToStringStyle$1
> org.apache.commons.lang.builder.ToStringStyle
> org.apache.commons.lang.builder.ToStringBuilder
> org.apache.commons.lang.SystemUtils


Class changes
=============
org.apache.commons.lang.exception.Nestable
--------------------
<     public abstract int getLength();
>     public abstract int getThrowableCount();
<     public abstract int indexOfThrowable(int, java.lang.Class);
---
>     public abstract int indexOfThrowable(java.lang.Class, int);
>     public abstract void printStackTrace(java.io.PrintStream);

org.apache.commons.lang.exception.NestableDelegate
--------------------
<     int getLength();
<     java.lang.String getMessage(java.lang.String);
>     java.lang.String getMessage(java.lang.String);
>     java.lang.String getMessages()[];
>     int getThrowableCount();
<     java.lang.String getMessages()[];
<     int indexOfThrowable(int, java.lang.Class);
---
>     int indexOfThrowable(java.lang.Class, int);

org.apache.commons.lang.exception.NestableException
--------------------
<     public int getLength();
>     public java.lang.String getMessage(int);
>     public int getThrowableCount();
<     public java.lang.String getMessage(int);
<     public int indexOfThrowable(int, java.lang.Class);
---
>     public int indexOfThrowable(java.lang.Class, int);

org.apache.commons.lang.exception.NestableRuntimeException
--------------------
<     public int getLength();
>     public java.lang.String getMessage(int);
>     public int getThrowableCount();
<     public java.lang.String getMessage(int);
<     public int indexOfThrowable(int, java.lang.Class);
---
>     public int indexOfThrowable(java.lang.Class, int);

org.apache.commons.lang.NumberUtils
--------------------
>     public static long minimum(long, long, long);
>     public static long maximum(long, long, long);
>     public static int compare(double, double);
>     public static int compare(float, float);

org.apache.commons.lang.ObjectUtils
--------------------
>     public static final org.apache.commons.lang.ObjectUtils.Null NULL;
>     public org.apache.commons.lang.ObjectUtils();
>     public static java.lang.String identityToString(java.lang.Object);
>     static {};
>     public static class org.apache.commons.lang.ObjectUtils. Null extends java.lang.Object implements java.io.Serializable 

org.apache.commons.lang.RandomStringUtils
--------------------
>     public org.apache.commons.lang.RandomStringUtils();

org.apache.commons.lang.StringUtils
--------------------
>     public org.apache.commons.lang.StringUtils();
<     public static java.lang.String stackTrace(java.lang.Throwable);
<     public static java.lang.String convertUnicodeToNative(java.lang.String, java.lang.String) throws java.io.IOException;
<     public static java.lang.String convertNativeToUnicode(java.lang.String, java.lang.String) throws java.io.IOException;
---
>     public static boolean containsOnly(java.lang.String, char[]);