java/greeter/src/main/java/org/apache/flink/statefun/playground/java/greeter/GreetingsFn.java [59:72]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              .build());
    }
    return context.done();
  }

  private static String createGreetingsMessage(UserProfile profile) {
    final int seenCount = profile.getSeenCount();

    if (seenCount <= GREETINGS_TEMPLATES.length) {
      return String.format(GREETINGS_TEMPLATES[seenCount - 1], profile.getName());
    } else {
      return String.format(
          "Nice to see you for the %dth time, %s! It has been %d milliseconds since we last saw you.",
          seenCount, profile.getName(), profile.getLastSeenDeltaMs());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part6/serving/GreetingsFn.java [64:77]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              .build());
    }
    return context.done();
  }

  private static String createGreetingsMessage(UserProfile profile) {
    final int seenCount = profile.getSeenCount();

    if (seenCount <= GREETINGS_TEMPLATES.length) {
      return String.format(GREETINGS_TEMPLATES[seenCount - 1], profile.getName());
    } else {
      return String.format(
          "Nice to see you for the %dth time, %s! It has been %d milliseconds since we last saw you.",
          seenCount, profile.getName(), profile.getLastSeenDeltaMs());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



