Is the Adapter pattern example on TutorialPoint wrong?

I finished the Adapter pattern, and I also finished the exercise. But now while studying the Adapter pattern on TutorialPoint, I feel like that the pattern is wrongly implemented on that website, am I right? It doesn’t makes any sense and they are using many if-else statements.