<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nainaistar</author_name>
  <author_url>https://blog.hatena.ne.jp/nainaistar/</author_url>
  <blog_title>きり丸の技術日記</blog_title>
  <blog_url>https://nainaistar.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>技術</anon>
  </categories>
  <description>※ 20221117 更新 直接的には関係ないですが、こちらも一つの解決策です。 【設計論】文字列だと単純にラップした型でも便利 - きり丸の技術日記 本番環境までは流れなかったものの、Javaで雑に文字列結合していたせいで、&quot;null様&quot;を出してしまいました。 回避自体は事前にNullチェックを入れれば簡単なものの、文字列結合のたびに事前チェックを入れていくのはエンジニアとしてめんどくさい。 プログラマの三大美徳の怠惰を目指すため、Javaでの文字列結合でnullを渡しつつ勝手にブランクに変換してくれるメソッドはないか探しました。 調査 環境 Java 11 nullを渡すとブランクとして文…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnainaistar.hatenablog.com%2Fentry%2F2020%2F03%2F14%2F170213&quot; title=&quot;Javaでnullを文字列結合したら&amp;quot;null&amp;quot;になるので回避する策を模索した話 - きり丸の技術日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-14 17:02:13</published>
  <title>Javaでnullを文字列結合したら&quot;null&quot;になるので回避する策を模索した話</title>
  <type>rich</type>
  <url>https://nainaistar.hatenablog.com/entry/2020/03/14/170213</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
