Skip to content

Commit

Permalink
EA-3622 few code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SrishtiSingh-eu committed Nov 17, 2023
1 parent 753b90a commit b05393d
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 84 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package eu.europeana.api.record.io;


import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.SimpleModule;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand All @@ -20,8 +17,6 @@
*/
public class CompactSerializer extends JsonSerializer<Object> {

public static final CompactSerializer INSTANCE = new CompactSerializer();

public boolean isEmpty(SerializerProvider provider, Object value) {
if (value == null ) { return true; }
if ( value instanceof Collection ) { return ((Collection)value).isEmpty(); }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
/**
*
*/
package eu.europeana.api.record.io.json;

/**
* @author Hugo
* @since 15 Sep 2023
*/
public class Context
{
public class Context {
private String base;

public Context(String uri) { base = uri; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
*
*/
package eu.europeana.api.record.io.json;

import com.fasterxml.jackson.core.JsonGenerator;
Expand Down

This file was deleted.

0 comments on commit b05393d

Please sign in to comment.