Commit Graph

20 Commits (331a63cd06be6df3501118e6150c42e0de85db82)

Author SHA1 Message Date
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Victor V. Rubezhny 57c43ac8cd Update fmt plugin to latest to enable skipping check #10554 (#10667)
The files are reformatted in order to suit the requirements of coveo maven fmt plug-in of v.2.5.1

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-08-08 07:20:05 +00:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Jonah Graham c69cf5135c CHE-8557: No Dto available for FormattingOptions (#8784)
* CHE-8557: No Dto available for FormattingOptions

The Dto isn't needed for FormattingOptions as it is really a specialized
Map and the types that contain a FormattingOptions field handle
the field as a Map during JSON serialize/deserialize

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Test cases for Either deserializing

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Fix Either handling when deserializing on the server

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Use actual type for Map conversions

The is necessary to ensure handling types which are of type Map are
still instantiated in their real type. Consider
DocumentFormattingParams.setOptions() which takes a FormattingOptions
class.

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* CHE-8557: Register LSP4J's Either adapter factory

This is effectively a follow up CHE-3103 which uses Gson directly
to serialize/deserialize Json. To support LSP4J's Either types,
the either type adapter factory is needed.

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>

* load EitherTypeAdapterFactory for registration

Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-03-16 15:09:01 +02:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Artem Zatsarynnyi b1f5d0368c
Make compiler:compile less talkative while compiling the generated DTO impls. (#7169)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2017-11-03 12:51:59 +02:00
Florent BENOIT 6a95b6d74a Apply google format v1.4 https://github.com/google/google-java-format/releases/tag/google-java-format-1.4
Change-Id: I5df30c23165df1fd39eef4c57893bebd1d681c1d
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-19 22:23:04 +02:00
Sergii Kabashniuk d78121d957 Used Google Java Codestyle 2017-08-18 17:45:22 +03:00
Sergii Kabashniuk 6e9825c699 Used Google Java Codestyle 2017-08-18 17:16:54 +03:00
Mykhailo Kuznietsov ce41b4a71d Change copyright owner to "Red Hat, Inc" on remaining files (#6032)
* Change copyright owner on remaining files

* fixup! Change copyright owner on remaining files

* fixup! fixup! Change copyright owner on remaining files
2017-08-17 18:05:53 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Dmytro Nochevnov bff144cd97 Fix DtoServer error messages (#5764)
* Fix error message of getting DTO implementation
* Handle non-interface types and types with DTO annotation in parent
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Small refactor

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Small fixes

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-07-21 13:40:32 +00:00
Sergii Kabashniuk b016d619cb 3656 Port Languages Server Support to lsp4j (#4765)
* Initial import from https://github.com/eclipse/che/pull/4160

* Added formatting for changed files

* Organize imports

* Added missing logback and removed unused dependency

* Fix plugin-languageserver compilation issue

* Move lsp4j dependency to lsp plugin
2017-04-19 17:33:59 +03:00
Tareq Sharafy ac876e3fc7 Dto streaming (#3103)
* Streaming approach for DTO serialization

* use Reader/Writer directly in DtoFactory, do not create full JSON texts
* read/write DTOs using direct streaming methods instead of building trees
* configure Gson type adapters instead of generating tree building code

Signed-off-by: Tareq Sharafy <tareq.sha@gmail.com>

* add missing javadoc
2017-01-31 11:03:55 +02:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Anatoliy Bazko c48a69f961 CHE-1287: Support for Language Server Protocol (#2452) 2016-09-16 12:45:02 +03:00
Tareq Sharafy 42457f47e8 Fixes from 3.x (#2121)
* DefaultHttpJsonRequest extensibility

make it easier to extend and allow mocking in any unit test
* Make package-protected c'tors and methods protected
* Make the HTTP method GET by default

Signed-off-by: Tareq Sharafy <tareq.sha@gmail.com>

* Allow creating a DTO from JsonElement directly

avoid an unnecessary double serialization if a JsonElement is available
and a DTO needs to be created from it.

Signed-off-by: Tareq Sharafy <tareq.sha@gmail.com>

* Add a converter for java.nio.Path

Signed-off-by: Tareq Sharafy <tareq.sha@gmail.com>
2016-08-15 13:28:33 +03:00
Alex Ve f8fddf78b2 Improving 'if' checks
Signed-off-by: <alextrentton@gmail.com>
2016-04-12 17:20:50 +03:00
Sergii Kabashniuk e9c4c4901c CHE-781 moved che-core-api-core che-core-api-dto che-core-api-dto-maven-plugin to upper level 2016-03-18 14:33:49 +02:00