#GIT
- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
| public class DocumentUtil { | |
| // CPF | |
| private static final int[] WEIGHT_SSN = {11, 10, 9, 8, 7, 6, 5, 4, 3, 2}; | |
| // CNPJ | |
| private static final int[] WEIGHT_TFN = {6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2}; | |
| private static int recursiveSum(int[] weight, char[] chr, int number) { | |
| if (number <= 0) return 0; |