Skip to content

Commit 36380b8

Browse files
committed
Merge branch 'develop'
2 parents a40a200 + 01ae006 commit 36380b8

26 files changed

+417
-174
lines changed

.github/workflows/codeql-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ master, develop ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ master, develop ]
2020
schedule:
2121
- cron: '15 0 * * 6'
2222

.github/workflows/maven-publish.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,15 @@ jobs:
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363

64-
- name: Create GitGub Release
65-
id: create_release
66-
uses: actions/create-release@v1
64+
- name: Create a new GitHub Release
65+
uses: docker://antonyurchenko/git-release:latest
6766
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
DRAFT_RELEASE: "true"
69+
PRE_RELEASE: "false"
70+
CHANGELOG_FILE: "CHANGELOG.md"
71+
ALLOW_EMPTY_CHANGELOG: "true"
72+
ALLOW_TAG_PREFIX: "true"
6973
with:
70-
tag_name: ${{ github.ref }}
71-
release_name: Release ${{ github.ref }}
72-
body: |
73-
Changes in this Release
74-
75-
draft: true
76-
prerelease: false
74+
args: |
75+
target/*.jar

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
33

44
## Unreleased
55

6+
## [1.1.4] - 2020-12-27
7+
### Changed
8+
- Enhanced the internal ThreadPool from 30 to 60 to prevent issues on startup
9+
- Throw better excepetions if the json configuration file is not valid
10+
- Removed the unsed ``annotation`` folder
11+
### Fixed
12+
- The new "Change Status" check (from v1.0.8) does not work, since the old status is already set previously
13+
614
## [1.1.3] - 2020-12-25
715
### Changed
816
- Changed many line of code to fix sonarlint/cloud issues

annotations/java/lang/Class.eea

-4
This file was deleted.

annotations/java/lang/String.eea

-4
This file was deleted.

annotations/java/lang/StringBuilder.eea

-4
This file was deleted.

annotations/java/lang/reflect/Field.eea

-4
This file was deleted.

annotations/java/math/BigDecimal.eea

-13
This file was deleted.

annotations/java/util/Collections.eea

-10
This file was deleted.

annotations/java/util/Objects.eea

-4
This file was deleted.

annotations/org/slf4j/LoggerFactory.eea

-4
This file was deleted.

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<description>eBUS core library - This library handles the communication with heating engineering via the BUS specification. This protocol is used by many heating manufacturers in Europe.</description>
88
<groupId>de.cs-dev.ebus</groupId>
99
<artifactId>ebus-core</artifactId>
10-
<version>1.1.3</version>
10+
<version>1.1.4</version>
1111
<url>https://github.com/csowada/ebus</url>
1212
<packaging>bundle</packaging>
1313

src/main/java/de/csdev/ebus/cfg/EBusConfigurationReaderException.java

+6-9
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
*/
99
package de.csdev.ebus.cfg;
1010

11-
import java.text.MessageFormat;
12-
1311
/**
1412
* @author Christian Sowada - Initial contribution
1513
*
@@ -18,20 +16,19 @@ public class EBusConfigurationReaderException extends Exception {
1816

1917
private static final long serialVersionUID = 1L;
2018

21-
public EBusConfigurationReaderException(final String message, final Throwable cause, final Object... args) {
22-
super(String.format(message, args), cause);
19+
public EBusConfigurationReaderException(final String message) {
20+
super(message);
2321
}
2422

2523
public EBusConfigurationReaderException(final String message, final Object... args) {
26-
super(MessageFormat.format(message, args));
27-
}
28-
29-
public EBusConfigurationReaderException(final String message) {
30-
super(message);
24+
super(String.format(message, args));
3125
}
3226

3327
public EBusConfigurationReaderException(final String message, final Throwable cause) {
3428
super(message, cause);
3529
}
3630

31+
public EBusConfigurationReaderException(final String message, final Throwable cause, final Object... args) {
32+
super(String.format(message, args), cause);
33+
}
3734
}

src/main/java/de/csdev/ebus/cfg/IEBusConfigurationReader.java

+37-35
Original file line numberDiff line numberDiff line change
@@ -25,39 +25,41 @@
2525
@NonNullByDefault
2626
public interface IEBusConfigurationReader {
2727

28-
/**
29-
* Loads all build-in command collections implemented by the reader
30-
*
31-
* @return
32-
*/
33-
public List<IEBusCommandCollection> loadBuildInConfigurationCollections();
34-
35-
/**
36-
* Loads the configuration from an InputStream and returns a command collection
37-
*
38-
* @param url
39-
* @return
40-
* @throws EBusConfigurationReaderException
41-
* @throws IOException
42-
*/
43-
public @Nullable IEBusCommandCollection loadConfigurationCollection(final URL url)
44-
throws EBusConfigurationReaderException, IOException;
45-
46-
/**
47-
* @param url
48-
* @return
49-
*/
50-
public List<IEBusCommandCollection> loadConfigurationCollectionBundle(final URL url);
51-
52-
/**
53-
* Sets the eBUS type registry to use
54-
*
55-
* @param ebusTypes
56-
*/
57-
public void setEBusTypes(final EBusTypeRegistry ebusTypes);
58-
59-
/**
60-
* Clears all internal states
61-
*/
62-
public void clear();
28+
/**
29+
* Loads all build-in command collections implemented by the reader
30+
*
31+
* @return
32+
*/
33+
public List<IEBusCommandCollection> loadBuildInConfigurationCollections()
34+
throws EBusConfigurationReaderException, IOException;
35+
36+
/**
37+
* Loads the configuration from an InputStream and returns a command collection
38+
*
39+
* @param url
40+
* @return
41+
* @throws EBusConfigurationReaderException
42+
* @throws IOException
43+
*/
44+
public @Nullable IEBusCommandCollection loadConfigurationCollection(final URL url)
45+
throws EBusConfigurationReaderException, IOException;
46+
47+
/**
48+
* @param url
49+
* @return
50+
*/
51+
public List<IEBusCommandCollection> loadConfigurationCollectionBundle(final URL url)
52+
throws EBusConfigurationReaderException, IOException;
53+
54+
/**
55+
* Sets the eBUS type registry to use
56+
*
57+
* @param ebusTypes
58+
*/
59+
public void setEBusTypes(final EBusTypeRegistry ebusTypes);
60+
61+
/**
62+
* Clears all internal states
63+
*/
64+
public void clear();
6365
}

0 commit comments

Comments
 (0)