Skip to content

Commit

Permalink
Prep 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Aug 18, 2017
1 parent 2288a1f commit 0674635
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.2.2 (2017-08-17)

### Fixed

- Unit tests, incorrect call `java.time.format.FormatStyle` fixed.

## 2.2.1 (2017-08-17)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion test/bench/simple_benchmarks.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function ($iterations) use ($ba) {
}
);

$formatStyle = $ba->java('java.time.format.FormatStyle');
$formatStyle = $ba->javaClass('java.time.format.FormatStyle');

$bm->time(
'Enums on javaClass',
Expand Down
4 changes: 2 additions & 2 deletions test/src/SolubleTest/Japha/Bridge/AdapterUsageUtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function testTreeSet()
public function testEnum()
{
$ba = $this->adapter;
$formatStyle = $ba->java('java.time.format.FormatStyle');
$formatStyle = $ba->javaClass('java.time.format.FormatStyle');

$this->assertEquals('LONG', $formatStyle->LONG);
$this->assertNotEquals('LONG', $formatStyle->SHORT);
Expand All @@ -96,7 +96,7 @@ public function testEnum()
public function testEnumSet()
{
$ba = $this->adapter;
$formatStyle = $ba->java('java.time.format.FormatStyle');
$formatStyle = $ba->javaClass('java.time.format.FormatStyle');

$enumSet = $ba->javaClass('java.util.EnumSet');
$set = $enumSet->of($formatStyle->LONG);
Expand Down

0 comments on commit 0674635

Please sign in to comment.