Andrunevchyn

Recent Posts


Recent Comments


Archives


Categories


Meta


java

@SpringBootTest

Sometimes I hate springboot for different kind of hidden things. You just copy sample with dozens different annotations and then it doesn’t work and you have no any idea  what is wrong ’cause you don’t see any logs about that So shortly – if you try to configure test suite for SpringBoot pay attention [...]

Andriy AndrunevchynAndriy Andrunevchyn

Maven multi-module quickstart

There are few simple steps Create root folder for project Open command line there Execute   You will see long list of available archetypes and question at the end   Choose appropriate number and proceed with instructions Pay attention it could be other value with the time. It was item #250, six years ago. Now for creating child [...]

Andriy AndrunevchynAndriy Andrunevchyn

Eclipse debug mode and MongoDB

I found out interesting thing –  when you debug your app with active connection to Mongo it could cause unexpected issue at least if use spring mongo data What I noticed If you remove all data from collection you will not be able insert any new record to that collection Sometimes getAll method could return list of nulls instead [...]

Andriy AndrunevchynAndriy Andrunevchyn

LeetCode: 2. Add Two Numbers

My first task on LeetCode You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 0 -> 8   and ListNode class [...]

Andriy AndrunevchynAndriy Andrunevchyn