<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gwendal Daniel</title>
    <description>The latest articles on DEV Community by Gwendal Daniel (@gdaniel).</description>
    <link>https://dev.to/gdaniel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F223193%2Fc0fa6c43-4f0e-419b-94d1-fd61e6fad84d.png</url>
      <title>DEV Community: Gwendal Daniel</title>
      <link>https://dev.to/gdaniel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gdaniel"/>
    <language>en</language>
    <item>
      <title>A Twitter bot to explore the Awesome Java list</title>
      <dc:creator>Gwendal Daniel</dc:creator>
      <pubDate>Fri, 12 Feb 2021 11:32:43 +0000</pubDate>
      <link>https://dev.to/gdaniel/a-twitter-bot-to-explore-the-awesome-java-list-2fmg</link>
      <guid>https://dev.to/gdaniel/a-twitter-bot-to-explore-the-awesome-java-list-2fmg</guid>
      <description>&lt;p&gt;I love making lists. I use them to organize my day, remember important things, and keep track of tools and libraries I want to explore. Lists like &lt;a href="https://github.com/akullpp/awesome-java"&gt;Awesome Java&lt;/a&gt; are a treat for people like me. Curated content on a technology I like and use everyday? Sign me in!&lt;/p&gt;

&lt;p&gt;But the truth is: I am too lazy to actually read the list and select an entry I want to explore. Like many list makers, I end up with piles of lists (and even lists of lists!) that are just collecting dust. I believe these lists are missing one key ingredient to be really useful. I don't want to look at them, I want their content to be pushed directly in front of me.&lt;/p&gt;

&lt;p&gt;So I created a &lt;a href="https://twitter.com/daily_awsm_java"&gt;Twitter bot&lt;/a&gt; that does exactly that. It uses the curated content from the &lt;em&gt;Awesome Java&lt;/em&gt; list and posts a daily tweet with a random entry, directly into your feed. &lt;/p&gt;

&lt;p&gt;If you are interested you can follow &lt;a href="https://twitter.com/daily_awsm_java"&gt;@daily_awsm_java&lt;/a&gt;. The list contains more than 500 entries (kudos to &lt;a href="https://twitter.com/akullpp"&gt;@akullpp&lt;/a&gt; for the hard work 🙏), so there will be fresh content for quite some time 😉&lt;/p&gt;

&lt;p&gt;You can also take a look at the &lt;a href="https://xatkit.com/a-twitter-bot-to-help-you-explore-your-reading-list/"&gt;original post on the Xatkit blog&lt;/a&gt; if you want to learn more about the technology behind the bot.&lt;/p&gt;

&lt;p&gt;And let me know if you'd like to see more Awesome List bots on Twitter! The &lt;a href="https://github.com/sindresorhus/awesome#readme"&gt;Awesome list of lists&lt;/a&gt; is full of interesting topics to explore!&lt;/p&gt;

</description>
      <category>twitter</category>
      <category>java</category>
      <category>reading</category>
      <category>bot</category>
    </item>
    <item>
      <title>Configure IntelliJ to show warnings for Lombok's @NonNull</title>
      <dc:creator>Gwendal Daniel</dc:creator>
      <pubDate>Tue, 21 Jul 2020 15:12:25 +0000</pubDate>
      <link>https://dev.to/gdaniel/configure-intellij-to-show-warnings-for-lombok-s-nonnull-1p5a</link>
      <guid>https://dev.to/gdaniel/configure-intellij-to-show-warnings-for-lombok-s-nonnull-1p5a</guid>
      <description>&lt;p&gt;&lt;a href="https://projectlombok.org/"&gt;Lombok&lt;/a&gt; is a library I like to use in my projects to limit boilerplate code and focus on the core logic of my applications. I am using the &lt;a href="https://plugins.jetbrains.com/plugin/6317-lombok"&gt;IntelliJ plugin&lt;/a&gt; to integrate Lombok annotation processing with my IDE, for example to enable auto-completion of methods generated from @Getter/@Setter.&lt;/p&gt;

&lt;p&gt;While this works pretty well, I regularly find myself searching resources on how I can configure Intellij to show warnings when I provide a &lt;code&gt;null&lt;/code&gt; value to a method argument annotated with @NonNull. Since a picture is worth a thousand words here is what I try to achieve:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0IIba2c3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tyug5rknxwjhabqg00bv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0IIba2c3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tyug5rknxwjhabqg00bv.PNG" alt="Missing warning in IntelliJ Editor"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since I spent some time figuring this out today I'll post my solution here in case anyone is wondering how this can be done (and also as an archive I can retrieve later 😅):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;code&gt;File -&amp;gt; Settings&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Navigate to &lt;code&gt;Editor -&amp;gt; Inspection -&amp;gt; Java -&amp;gt; Probable bugs -&amp;gt; Nullability problems -&amp;gt; @NotNull/@Nullable problems&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Click on &lt;code&gt;Configure Annotations&lt;/code&gt; in the right panel&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;lombok.NonNull&lt;/code&gt; in the &lt;code&gt;NotNull annotations&lt;/code&gt; list&lt;/li&gt;
&lt;li&gt;Rebuild your project&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You should now see the warnings in your editor&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u5IKpCWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kf3k0pkyw0r1665cqj1n.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u5IKpCWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kf3k0pkyw0r1665cqj1n.PNG" alt="IntelliJ printing the warning with Lombok annotation"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You may have noticed the naming error in the warning pop-up ("@NotNull" instead of "@NonNull"). I didn't look into it, let me know if you have a solution for that!&lt;/p&gt;

</description>
      <category>java</category>
      <category>lombok</category>
      <category>intellij</category>
    </item>
  </channel>
</rss>
