Here is one sentence: To militate in favor of a particular result.
Here is another sentence: Politeness militated against this opinion being expressed.
Does the term militate mean the same thing in both these sentences?
the same meaning