Skip to content

Commit

Permalink
Merge pull request #522 from vil02/4940_make_some_java_classes_proper…
Browse files Browse the repository at this point in the history
…_utilities

Make some Java classes proper utilities
  • Loading branch information
TharmiganK authored Oct 23, 2023
2 parents c31803d + c4371d2 commit e5e5781
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## Changed

- [Change `com.sun.activation:jakarta.activation` to `jakarta.activation:jakarta.activation-api`](https://github.com/ballerina-platform/ballerina-standard-library/issues/4789)
- [Make some of the Java classes proper utility classes](https://github.com/ballerina-platform/ballerina-standard-library/issues/4940)

## [2.6.0] - 2022-02-20

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
/**
* Constants related to MIME.
*/
public class MimeConstants {
public final class MimeConstants {

private MimeConstants() {}

public static final String ENTITY = "Entity";
public static final String MEDIA_TYPE = "MediaType";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
/**
* Contains assert functions used by mime test cases.
*/
public class Assert {
public final class Assert {

private Assert() {}

public static void assertEquals(Object actual, Object expected) {
if (!areEqual(actual, expected)) {
Expand Down

0 comments on commit e5e5781

Please sign in to comment.