Comments (9)
Thanks for the hint. Does that makes any difference regarding performance?
Jake Wharton [email protected] schrieb am Mi., 1. Juni 2016, 16:56:
For example, this can be replaced with
private static final ByteString CDATA_CLOSE = ByteString.decodeUtf8("]]>");// ...long index = source.indexOf(CDATA_CLOSE);if (index == -1) throw ...return index;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#25, or mute the thread
https://github.com/notifications/unsubscribe/AAjnrge7qhP1NcmGlZZSP6kbWWfsqubrks5qHZ2UgaJpZM4Iro3S
.
from tikxml.
No. Just code reduction on your part.
from tikxml.
👍
from tikxml.
this could fix the issue with a json array inside cdata.
from tikxml.
Is this bug is still good?
from tikxml.
It is, although it is not a bug. It's just for better code readability.
from tikxml.
What does need to be change from https://github.com/Tickaroo/tikxml/blob/master/core/src/main/java/com/tickaroo/tikxml/XmlReader.java#L663
from tikxml.
Its already replaced on this place.
from tikxml.
https://github.com/Tickaroo/tikxml/blob/master/core/src/main/java/com/tickaroo/tikxml/XmlReader.java#L305 and https://github.com/Tickaroo/tikxml/blob/master/core/src/main/java/com/tickaroo/tikxml/XmlReader.java#L790 can be simplified.
from tikxml.
Related Issues (20)
- error: incompatible types: Object cannot be converted to RequestBody HOT 1
- How to use NameSpace HOT 1
- How to initiate the lib in kotlin HOT 1
- The Future of TikXML HOT 4
- Dynamic root tag name HOT 6
- XML not generate in defined order HOT 2
- Parsing not work HOT 3
- exception while reading rss feed HOT 7
- Type converter for inserting into database HOT 2
- Problemas de parseo con dos objetos y arraylist dentro de cada uno HELP HOT 2
- Support for generic elements
- Support for iso-8859-1 HOT 7
- No TypeAdapter for class HOT 2
- java: incompatible types: java.lang.Object cannot be converted to Book HOT 2
- Docs don't mention how to make a model class for an xml like the following HOT 3
- addTypeConverter
- Support for empty lists HOT 1
- "isXXX: String" compile error
- Plans to release 0.9.x?
- Update versions of okio and guava
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 tikxml.