Ignore:
Timestamp:
01/28/20 10:19:55 (5 years ago)
Author:
bart
Message:

Update 28 jan 2020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/geniusweb/profilesserver/websocket/ProfilesListSocket.java

    r5 r8  
    2424import javax.websocket.server.ServerEndpoint;
    2525
    26 import com.fasterxml.jackson.databind.ObjectMapper;
    27 
     26import geniusweb.profilesserver.Jackson;
    2827import geniusweb.profilesserver.ProfilesFactory;
    2928import geniusweb.profilesserver.events.ChangeEvent;
     
    8382                log.log(Level.FINER, "sending updated profiles");
    8483                session.getBasicRemote().sendText(
    85                                 new ObjectMapper().writeValueAsString(getDomainsProfiles()));
     84                                Jackson.instance().writeValueAsString(getDomainsProfiles()));
    8685        }
    8786
Note: See TracChangeset for help on using the changeset viewer.