J'ai récupéré un code source dans lequel il n'y a une erreur mais je ne comprends pas la logique.

J'ai ceci.
The method convertToPokerStarsFormat(boolean, String) in the type HandConverterUtil is not applicable for the arguments (String) ConverterThread.java Java Problem
Voici la méthode de conversion qui se trouve donc dans HandConverterUtil.java

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
public static String convertToPokerStarsFormat(boolean cash,
			String trillionHH) {
		boolean mtt = !cash;
		String curr = cash ? "$" : "";
               .....

Ensuite l'appel ce fait comme ceci et c'est ici que se situe l'erreur.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
HandConverterUtil.convertToPokerStarsFormat(currentHand.toString()));

Si vous pouvez m'aider pour ce problème.

Merci.