Last summer, disputes over a string of contested islands in the East China Sea led to a furious exchange of charges between China and Japan, the world’s second- and third-largest economies, respectively. The two sides were never in danger of going to war, but Chinese officials allowed nationalist protests to develop into boycotts of Japanese products and acts of vandalism against Japanese companies.