Comments (7)
The empty lines bug happens only when the option ConfigSettings
is set to PRESERVE_COMMENTS
from simplixstorage.
Yeah, this is known and it only happens with no comments at all.
I can have a look at it.
from simplixstorage.
@JavaFactoryDev this happens even if there are comments, and after each comment are inserted several empty lines.
from simplixstorage.
Should be fixed with the latest release.
from simplixstorage.
Please tell me whether is still occurs or not.
from simplixstorage.
@JavaFactoryDev now this bug no longer occurs, but Yaml#addHeaders
and Yaml#setHeaders
works only if there is at least one empty line or comment at the beginning of the file.
from simplixstorage.
Thanks for reporting it! This is indeed intended as we can't distinguish between both if there are no empty lines.
from simplixstorage.
Related Issues (20)
- Jar download HOT 2
- Use of custom serialization objects HOT 2
- Unsupported class file major version 60 when compiling in java 16 HOT 1
- Toml comments are not preserved HOT 2
- Error when using the reload callback HOT 2
- Add Toml comment preservation and header methods HOT 4
- HOCON config support HOT 2
- Config(yaml) has broken edit with UTF-8 Characters HOT 3
- Split code base into modules HOT 1
- Comments dissappear when adding defaults. HOT 2
- Supporting comments and preserving comments in a file TOML HOT 1
- Wiki is outdated HOT 1
- Discord invite invalid HOT 1
- Latest release shows wrong version in maven HOT 1
- Need some help HOT 2
- Rethrow exceptions HOT 1
- Yaml#addDefaultsFromInputStream messes the order of keys even if the DataType is sorted
- Does not generate files
- Dot in key create problem with FlatFile HOT 1
- Request for future updates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplixstorage.